Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0008887/0.0008887, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0009446/0.0009446, allocations: 173 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 1.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.002474/0.002474, allocations: 237.9 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.714/0.714, allocations: 138.4 MB / 456.3 MB, free: 1.43 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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5564 GB, free: 268 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.569e-05, allocations: 2.312 kB / 0.5564 GB, free: 264 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003043/0.003058, allocations: 3.06 MB / 0.5594 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.00435, allocations: 1.115 MB / 0.5604 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.004491, allocations: 23.75 kB / 0.5605 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.004917, allocations: 131.1 kB / 0.5606 GB, free: 11.9 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.005202, allocations: 238.5 kB / 0.5608 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.005439, allocations: 219.5 kB / 0.561 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.005862, allocations: 0.6283 MB / 0.5616 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.006145, allocations: 234.6 kB / 0.5619 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003356/0.00648, allocations: 343.1 kB / 0.5622 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.006733, allocations: 227.3 kB / 0.5624 GB, free: 10.03 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.006766, allocations: 28 kB / 0.5624 GB, free: 10 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.006887, allocations: 87.8 kB / 0.5625 GB, free: 9.918 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.006976, allocations: 131.6 kB / 0.5627 GB, free: 9.789 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.007069, allocations: 135.6 kB / 0.5628 GB, free: 9.656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.007378, allocations: 370.6 kB / 0.5631 GB, free: 9.293 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007381, allocations: 0 / 0.5631 GB, free: 9.293 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.007382, allocations: 0 / 0.5631 GB, free: 9.293 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.007386, allocations: 0 / 0.5631 GB, free: 9.293 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006159/0.008002, allocations: 0.7409 MB / 0.5639 GB, free: 8.516 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.008032, allocations: 8.75 kB / 0.5639 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.00842, allocations: 152.3 kB / 0.564 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.008749, allocations: 350.8 kB / 0.5643 GB, free: 7.988 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.008765, allocations: 21.03 kB / 0.5644 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.008803, allocations: 40.3 kB / 0.5644 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.009177, allocations: 0.5246 MB / 0.5649 GB, free: 7.281 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.009192, allocations: 4 kB / 0.5649 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.009212, allocations: 12 kB / 0.5649 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.009255, allocations: 44.62 kB / 0.565 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.009423, allocations: 164.2 kB / 0.5651 GB, free: 7.059 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.01104, allocations: 3.465 MB / 0.5685 GB, free: 3.457 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.01129, allocations: 178 kB / 0.5687 GB, free: 3.273 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.01136, allocations: 59.66 kB / 0.5687 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.01137, allocations: 4 kB / 0.5687 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.01139, allocations: 37.39 kB / 0.5688 GB, free: 3.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.01139, allocations: 4 kB / 0.5688 GB, free: 3.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006672/0.01206, allocations: 413.9 kB / 0.5692 GB, free: 2.734 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.01208, allocations: 59.58 kB / 0.5692 GB, free: 2.664 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.01226, allocations: 374.4 kB / 0.5696 GB, free: 2.285 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.01227, allocations: 29.7 kB / 0.5696 GB, free: 2.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01239, allocations: 306.7 kB / 0.5699 GB, free: 1.941 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.01244, allocations: 103.1 kB / 0.57 GB, free: 1.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.01251, allocations: 79.78 kB / 0.5701 GB, free: 1.754 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01263, allocations: 0.5234 MB / 0.5706 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.01268, allocations: 44.97 kB / 0.5706 GB, free: 1.176 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.01282, allocations: 258.6 kB / 0.5709 GB, free: 0.832 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.01303, allocations: 346 kB / 0.5712 GB, free: 416 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01303, allocations: 0 / 0.5712 GB, free: 416 kB / 490.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003597/0.01339, allocations: 392.2 kB / 0.5716 GB, free: 4 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.01342, allocations: 8.047 kB / 0.5716 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01343, allocations: 4 kB / 0.5716 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/0.01357, allocations: 62.95 kB / 0.5717 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.01373, allocations: 79.84 kB / 0.5717 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01374, allocations: 12 kB / 0.5718 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01384, allocations: 19.98 kB / 0.5718 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01386, allocations: 20.11 kB / 0.5718 GB, free: 15.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/0.01396, allocations: 188.4 kB / 0.572 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.014, allocations: 47.77 kB / 0.572 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.0143, allocations: 260.9 kB / 0.5723 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.0143, allocations: 3.938 kB / 0.5723 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.0143, allocations: 4 kB / 0.5723 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01431, allocations: 0 / 0.5723 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006734/0.01498, allocations: 0.6051 MB / 0.5729 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01498, allocations: 3.984 kB / 0.5729 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.01508, allocations: 35.98 kB / 0.5729 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.01519, allocations: 59.02 kB / 0.573 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.0152, allocations: 11.94 kB / 0.573 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.0152, allocations: 0 / 0.573 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01521, allocations: 7.984 kB / 0.573 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.0155, allocations: 425.1 kB / 0.5734 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.01556, allocations: 55.73 kB / 0.5734 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.01559, allocations: 8 kB / 0.5734 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.01568, allocations: 8 kB / 0.5735 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.01572, allocations: 31.89 kB / 0.5735 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.01573, allocations: 4 kB / 0.5735 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.395e-05/0.01582, allocations: 235 kB / 0.5737 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01582, allocations: 0 / 0.5737 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002384/0.01606, allocations: 87.94 kB / 0.5738 GB, free: 13.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.68e-05/0.01614, allocations: 107.2 kB / 0.5739 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.01641, allocations: 229 kB / 0.5741 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01641, allocations: 0 / 0.5741 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.01652, allocations: 125.5 kB / 0.5742 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.01691, allocations: 137 kB / 0.5744 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.01764, allocations: 0.666 MB / 0.575 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.432e-05/0.0177, allocations: 121.6 kB / 0.5751 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.01781, allocations: 47.33 kB / 0.5752 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.01797, allocations: 174.1 kB / 0.5753 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of SimCode: time 6.52e-07/0.01797, allocations: 0 / 0.5753 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.006646/0.02462, allocations: 5.26 MB / 0.5805 GB, free: 6.805 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.578865464311093]