Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001381/0.001381, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00173/0.00173, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9738/0.9738, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002479/0.002479, allocations: 248 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7071/0.7071, allocations: 138.4 MB / 456.3 MB, free: 1.387 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5564 GB, free: 216 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/1.088e-05, allocations: 2.312 kB / 0.5564 GB, free: 212 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002566/0.002577, allocations: 2.643 MB / 0.559 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.004213, allocations: 1.473 MB / 0.5604 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.004309, allocations: 7.938 kB / 0.5604 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.004651, allocations: 91.45 kB / 0.5605 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.004908, allocations: 198.8 kB / 0.5607 GB, free: 11.77 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.005236, allocations: 267.3 kB / 0.5609 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.005536, allocations: 418.5 kB / 0.5613 GB, free: 11.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.005749, allocations: 180.1 kB / 0.5615 GB, free: 10.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.005966, allocations: 219.5 kB / 0.5617 GB, free: 10.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.006196, allocations: 191.5 kB / 0.5619 GB, free: 10.52 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.006226, allocations: 24 kB / 0.5619 GB, free: 10.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.00641, allocations: 167.6 kB / 0.5621 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.093e-05/0.0065, allocations: 135.6 kB / 0.5622 GB, free: 10.2 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.006578, allocations: 103.7 kB / 0.5623 GB, free: 10.1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.007074, allocations: 354.8 kB / 0.5626 GB, free: 9.754 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.007076, allocations: 0 / 0.5626 GB, free: 9.754 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.007076, allocations: 0 / 0.5626 GB, free: 9.754 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.00708, allocations: 0 / 0.5626 GB, free: 9.754 MB / 490.7 MB 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.0006104/0.007691, allocations: 0.6283 MB / 0.5633 GB, free: 9.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.007721, allocations: 8.75 kB / 0.5633 GB, free: 9.082 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000532/0.008253, allocations: 140.5 kB / 0.5634 GB, free: 8.945 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.00846, allocations: 216.8 kB / 0.5636 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.008477, allocations: 24.88 kB / 0.5636 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.008551, allocations: 40.62 kB / 0.5637 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.008883, allocations: 397.2 kB / 0.564 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.008895, allocations: 192 / 0.564 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.008917, allocations: 11.94 kB / 0.5641 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/0.008993, allocations: 44.41 kB / 0.5641 GB, free: 8.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.00916, allocations: 127.3 kB / 0.5642 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.01034, allocations: 1.779 MB / 0.566 GB, free: 6.152 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.01051, allocations: 134.8 kB / 0.5661 GB, free: 6.008 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.01056, allocations: 51.66 kB / 0.5661 GB, free: 5.953 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.01058, allocations: 8 kB / 0.5661 GB, free: 5.945 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.0106, allocations: 41.39 kB / 0.5662 GB, free: 5.895 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 9.82e-07/0.0106, allocations: 0 / 0.5662 GB, free: 5.895 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007108/0.01131, allocations: 493.5 kB / 0.5667 GB, free: 5.379 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.01134, allocations: 55.41 kB / 0.5667 GB, free: 5.312 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.01149, allocations: 289.5 kB / 0.567 GB, free: 5.012 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.01151, allocations: 29.7 kB / 0.567 GB, free: 4.977 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.0116, allocations: 243 kB / 0.5672 GB, free: 4.734 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.01165, allocations: 91.23 kB / 0.5673 GB, free: 4.645 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.01173, allocations: 83.27 kB / 0.5674 GB, free: 4.555 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.01184, allocations: 0.504 MB / 0.5679 GB, free: 4.039 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.01191, allocations: 47.95 kB / 0.5679 GB, free: 3.992 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.01202, allocations: 166.2 kB / 0.5681 GB, free: 3.785 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.01221, allocations: 234.1 kB / 0.5683 GB, free: 3.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01221, allocations: 0 / 0.5683 GB, free: 3.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00047/0.01268, allocations: 361.5 kB / 0.5687 GB, free: 3.148 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01269, allocations: 10.97 kB / 0.5687 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.0127, allocations: 4.312 kB / 0.5687 GB, free: 3.137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/0.01322, allocations: 187.4 kB / 0.5689 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.01336, allocations: 55.91 kB / 0.5689 GB, free: 2.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.01487, allocations: 2.132 MB / 0.571 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.01503, allocations: 23.92 kB / 0.571 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.01505, allocations: 11.94 kB / 0.571 GB, free: 0.6133 MB / 490.7 MB 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 (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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/0.01514, allocations: 180.5 kB / 0.5712 GB, free: 436 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.01518, allocations: 19.91 kB / 0.5712 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.01538, allocations: 197 kB / 0.5714 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01539, allocations: 12.02 kB / 0.5714 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.01539, allocations: 0 / 0.5714 GB, free: 200 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01539, allocations: 3.984 kB / 0.5714 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.01584, allocations: 0.5077 MB / 0.5719 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01584, allocations: 0 / 0.5719 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.01603, allocations: 67.89 kB / 0.572 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01603, allocations: 0 / 0.572 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01605, allocations: 8 kB / 0.572 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01605, allocations: 3.984 kB / 0.572 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01605, allocations: 4 kB / 0.572 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.01633, allocations: 393.2 kB / 0.5724 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.01639, allocations: 47.8 kB / 0.5724 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.01641, allocations: 8 kB / 0.5724 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.01651, allocations: 8 kB / 0.5724 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.01653, allocations: 19.84 kB / 0.5725 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01654, allocations: 8 kB / 0.5725 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.108e-05/0.01662, allocations: 186.2 kB / 0.5726 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 0 / 0.5726 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000256/0.01688, allocations: 88 kB / 0.5727 GB, free: 14.8 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.484e-05/0.01698, allocations: 115.1 kB / 0.5728 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.01737, allocations: 417.4 kB / 0.5732 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01737, allocations: 128 / 0.5732 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.162e-05/0.01744, allocations: 87.45 kB / 0.5733 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.0177, allocations: 62.73 kB / 0.5734 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.01861, allocations: 0.688 MB / 0.5741 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.176e-05/0.01867, allocations: 112.3 kB / 0.5742 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.233e-05/0.01876, allocations: 34.28 kB / 0.5742 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.01889, allocations: 118.2 kB / 0.5743 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01889, allocations: 0 / 0.5743 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.005706/0.0246, allocations: 4.547 MB / 0.5787 GB, free: 8.602 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4743719659745693]