Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.599/1.599, allocations: 297.8 MB / 313.8 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009271/0.0009271, allocations: 186.8 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 93.89 kB / 0.7808 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.000445, allocations: 8 kB / 0.9088 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6097, allocations: 120.3 MB / 1.026 GB, free: 56.87 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.8147, allocations: 171.8 MB / 1.194 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.815, allocations: 97 kB / 1.194 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.05041/0.8655, allocations: 21.24 MB / 1.215 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.357e-06/0.8655, allocations: 3.984 kB / 1.215 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.077e-05/0.8655, allocations: 4 kB / 1.215 GB, free: 12.85 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00102/0.8665, allocations: 0.5663 MB / 1.216 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.8666, allocations: 12.03 kB / 1.216 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008923/0.8675, allocations: 108.4 kB / 1.216 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.868, allocations: 281.1 kB / 1.216 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.868, allocations: 20.92 kB / 1.216 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.46e-05/0.8681, allocations: 32.28 kB / 1.216 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.8687, allocations: 433.6 kB / 1.216 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.8688, allocations: 192 / 1.216 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.8688, allocations: 19.92 kB / 1.216 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.8689, allocations: 28.55 kB / 1.216 GB, free: 11.24 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/0.8694, allocations: 353.9 kB / 1.217 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.8717, allocations: 2.199 MB / 1.219 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.8721, allocations: 262.4 kB / 1.219 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.8723, allocations: 156.8 kB / 1.219 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.8723, allocations: 8 kB / 1.219 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.8724, allocations: 34.5 kB / 1.219 GB, free: 8.027 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.8724, allocations: 0 / 1.219 GB, free: 8.027 MB / 0.7917 GB Notification: Performance of matching and sorting (n=23): time 0.00169/0.8741, allocations: 1.052 MB / 1.22 GB, free: 6.906 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.8741, allocations: 59.39 kB / 1.22 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.8744, allocations: 245 kB / 1.221 GB, free: 6.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.8745, allocations: 33.64 kB / 1.221 GB, free: 6.551 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.8746, allocations: 184 kB / 1.221 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.8747, allocations: 86.73 kB / 1.221 GB, free: 6.281 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.8747, allocations: 8 kB / 1.221 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8748, allocations: 330.8 kB / 1.221 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.8751, allocations: 159.9 kB / 1.221 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.8753, allocations: 229.4 kB / 1.222 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.8758, allocations: 404 kB / 1.222 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8758, allocations: 3.938 kB / 1.222 GB, free: 5.098 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001006/0.8769, allocations: 0.5778 MB / 1.223 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8769, allocations: 8.062 kB / 1.223 GB, free: 4.504 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8769, allocations: 4 kB / 1.223 GB, free: 4.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.8775, allocations: 180.7 kB / 1.223 GB, free: 4.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.8778, allocations: 63.88 kB / 1.223 GB, free: 4.258 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.8807, allocations: 2.279 MB / 1.225 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.8811, allocations: 23.92 kB / 1.225 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.8811, allocations: 8 kB / 1.225 GB, free: 1.812 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.8813, allocations: 170.3 kB / 1.225 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.8814, allocations: 23.72 kB / 1.225 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.882, allocations: 351.5 kB / 1.226 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.882, allocations: 4 kB / 1.226 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.882, allocations: 3.938 kB / 1.226 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.882, allocations: 0 / 1.226 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.8832, allocations: 0.8045 MB / 1.226 GB, free: 404 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8832, allocations: 3.938 kB / 1.226 GB, free: 400 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.8836, allocations: 75.94 kB / 1.226 GB, free: 324 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.381e-06/0.8837, allocations: 3.938 kB / 1.226 GB, free: 320 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.8837, allocations: 8 kB / 1.226 GB, free: 312 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8837, allocations: 3.938 kB / 1.226 GB, free: 308 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8837, allocations: 4 kB / 1.226 GB, free: 304 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008055/0.8845, allocations: 0.6057 MB / 1.227 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.8847, allocations: 136.8 kB / 1.227 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.8847, allocations: 4 kB / 1.227 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.8849, allocations: 15.98 kB / 1.227 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.885, allocations: 15.98 kB / 1.227 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.885, allocations: 8 kB / 1.227 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000173/0.8852, allocations: 180.5 kB / 1.227 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8852, allocations: 4 kB / 1.227 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004604/0.8857, allocations: 95.94 kB / 1.228 GB, free: 15.21 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001772/0.8859, allocations: 128.9 kB / 1.228 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009495/0.8868, allocations: 0.5306 MB / 1.228 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8869, allocations: 0 / 1.228 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.8871, allocations: 155.7 kB / 1.228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.8876, allocations: 51.02 kB / 1.228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.8892, allocations: 1.003 MB / 1.229 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.8896, allocations: 0.7951 MB / 1.23 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.8898, allocations: 78.91 kB / 1.23 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/0.8899, allocations: 23.42 kB / 1.23 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of SimCode: time 3.1e-07/0.8899, allocations: 0 / 1.23 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.007184/0.8971, allocations: 3.677 MB / 1.234 GB, free: 8.723 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)