Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 169.6 kB / 25.18 MB, free: 9.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9084/0.9084, allocations: 177.2 MB / 205.6 MB, free: 4.332 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.908/1.908, allocations: 389.6 MB / 0.6364 GB, free: 13.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7755 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.124e-05, allocations: 9.766 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004677/0.004709, allocations: 2.737 MB / 0.7782 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.006768, allocations: 1.083 MB / 0.7793 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.006944, allocations: 8 kB / 0.7793 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.007449, allocations: 107.4 kB / 0.7794 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.007823, allocations: 143.1 kB / 0.7795 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.008185, allocations: 127.6 kB / 0.7796 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.00864, allocations: 350.7 kB / 0.78 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.008967, allocations: 202.6 kB / 0.7802 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.009303, allocations: 195.6 kB / 0.7804 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.009584, allocations: 139.6 kB / 0.7805 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.009622, allocations: 20 kB / 0.7805 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.009856, allocations: 99.66 kB / 0.7806 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.009956, allocations: 95.73 kB / 0.7807 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.01006, allocations: 83.81 kB / 0.7808 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.01045, allocations: 243.2 kB / 0.781 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.01045, allocations: 0 / 0.781 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01045, allocations: 0 / 0.781 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.01046, allocations: 4 kB / 0.781 GB, free: 8.941 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006703/0.01113, allocations: 452 kB / 0.7814 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.01116, allocations: 8.031 kB / 0.7815 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006186/0.01178, allocations: 120.7 kB / 0.7816 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.01206, allocations: 190.1 kB / 0.7818 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.01208, allocations: 16.88 kB / 0.7818 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.01211, allocations: 16.38 kB / 0.7818 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.01247, allocations: 298.3 kB / 0.7821 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.01248, allocations: 4.188 kB / 0.7821 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.0125, allocations: 8.375 kB / 0.7821 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.01254, allocations: 24.42 kB / 0.7821 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.01267, allocations: 59.41 kB / 0.7822 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.01371, allocations: 0.9302 MB / 0.7831 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.01397, allocations: 81.38 kB / 0.7831 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.014, allocations: 24.84 kB / 0.7832 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.01402, allocations: 0 / 0.7832 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.01404, allocations: 38.5 kB / 0.7832 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.01405, allocations: 0 / 0.7832 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003069/0.01435, allocations: 105.2 kB / 0.7833 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.01438, allocations: 59.34 kB / 0.7834 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.01454, allocations: 186.2 kB / 0.7835 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01455, allocations: 29.7 kB / 0.7836 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.01464, allocations: 172.1 kB / 0.7837 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.01467, allocations: 35.72 kB / 0.7838 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.01473, allocations: 41.69 kB / 0.7838 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.01482, allocations: 326.8 kB / 0.7841 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.01485, allocations: 12 kB / 0.7841 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.01492, allocations: 80.5 kB / 0.7842 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.01504, allocations: 111.2 kB / 0.7843 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01505, allocations: 3.938 kB / 0.7843 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002123/0.01526, allocations: 133.1 kB / 0.7844 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01528, allocations: 8.281 kB / 0.7845 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01528, allocations: 4 kB / 0.7845 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001693/0.01545, allocations: 35.66 kB / 0.7845 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.01556, allocations: 31.92 kB / 0.7845 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008781/0.01644, allocations: 1.2 MB / 0.7857 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01654, allocations: 19.89 kB / 0.7857 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.01655, allocations: 4 kB / 0.7857 GB, free: 3.711 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/0.01664, allocations: 124.5 kB / 0.7858 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.01668, allocations: 15.98 kB / 0.7858 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.01671, allocations: 21.45 kB / 0.7859 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01671, allocations: 4 kB / 0.7859 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01671, allocations: 8 kB / 0.7859 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01672, allocations: 0 / 0.7859 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.01706, allocations: 274.4 kB / 0.7861 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01706, allocations: 0 / 0.7861 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.0171, allocations: 11.98 kB / 0.7862 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.01723, allocations: 31.61 kB / 0.7862 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.01724, allocations: 0 / 0.7862 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007248/0.01796, allocations: 1.193 MB / 0.7873 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01796, allocations: 0 / 0.7873 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.01813, allocations: 186.3 kB / 0.7875 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.01817, allocations: 23.83 kB / 0.7875 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01819, allocations: 7.984 kB / 0.7876 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.01828, allocations: 8.125 kB / 0.7876 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.01831, allocations: 7.922 kB / 0.7876 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.01832, allocations: 4 kB / 0.7876 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.01838, allocations: 58.03 kB / 0.7876 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01838, allocations: 0 / 0.7876 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002984/0.01868, allocations: 59.84 kB / 0.7877 GB, free: 1.531 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001108/0.01879, allocations: 80.36 kB / 0.7878 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.01906, allocations: 194.8 kB / 0.788 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.01907, allocations: 0 / 0.788 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01919, allocations: 143.4 kB / 0.7881 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.01946, allocations: 35.62 kB / 0.7881 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008809/0.02034, allocations: 433.1 kB / 0.7885 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.02049, allocations: 144.2 kB / 0.7887 GB, free: 444 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.02061, allocations: 83.36 kB / 0.7888 GB, free: 360 kB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.02061, allocations: 3.938 kB / 0.7888 GB, free: 356 kB / 0.7448 GB Notification: Performance of Templates: time 0.005227/0.02584, allocations: 3.273 MB / 0.792 GB, free: 13.08 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource > Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.046228240244091]