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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 194.4 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002384/0.002384, allocations: 288.3 kB / 307.1 MB, free: 8.359 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.125/1.125, allocations: 180.8 MB / 0.5304 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002657/0.002657, allocations: 103.5 kB / 0.7311 GB, free: 38.78 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1558, allocations: 94.2 MB / 0.8231 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005115/0.1609, allocations: 3.832 MB / 0.8268 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.1638, allocations: 1.843 MB / 0.8286 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.164, allocations: 27.75 kB / 0.8286 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008485/0.1649, allocations: 270.7 kB / 0.8289 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.1655, allocations: 310.4 kB / 0.8292 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.166, allocations: 254.1 kB / 0.8294 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.1666, allocations: 0.6091 MB / 0.83 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.167, allocations: 202.8 kB / 0.8302 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.1673, allocations: 239.1 kB / 0.8305 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.1676, allocations: 243 kB / 0.8307 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.1677, allocations: 28 kB / 0.8307 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.1681, allocations: 255.4 kB / 0.831 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1682, allocations: 131.6 kB / 0.8311 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.1684, allocations: 206.8 kB / 0.8313 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006538/0.1691, allocations: 0.5836 MB / 0.8319 GB, free: 9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1691, allocations: 0 / 0.8319 GB, free: 9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1691, allocations: 0 / 0.8319 GB, free: 9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.1691, allocations: 3.938 kB / 0.8319 GB, free: 8.996 MB / 0.5762 GB 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.001113/0.1702, allocations: 0.6759 MB / 0.8325 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1702, allocations: 12.03 kB / 0.8325 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.171, allocations: 132.5 kB / 0.8327 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.1716, allocations: 349.3 kB / 0.833 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1716, allocations: 21.03 kB / 0.833 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.1717, allocations: 40.31 kB / 0.833 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.1725, allocations: 0.5511 MB / 0.8336 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.1725, allocations: 11.94 kB / 0.8336 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.1725, allocations: 12 kB / 0.8336 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.1726, allocations: 44.62 kB / 0.8336 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.1733, allocations: 402.1 kB / 0.834 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.1762, allocations: 3.263 MB / 0.8372 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.1768, allocations: 311.1 kB / 0.8375 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.177, allocations: 168.7 kB / 0.8377 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1771, allocations: 4 kB / 0.8377 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1771, allocations: 38.56 kB / 0.8377 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.1771, allocations: 0 / 0.8377 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27): time 0.001858/0.179, allocations: 0.8453 MB / 0.8385 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.179, allocations: 55.64 kB / 0.8386 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.1793, allocations: 341.6 kB / 0.8389 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1794, allocations: 29.7 kB / 0.8389 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1795, allocations: 252.1 kB / 0.8392 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.1796, allocations: 103.2 kB / 0.8393 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.1797, allocations: 74.09 kB / 0.8394 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1799, allocations: 346.8 kB / 0.8397 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.1801, allocations: 148.8 kB / 0.8398 GB, free: 392 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.1805, allocations: 286.5 kB / 0.8401 GB, free: 40 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.1812, allocations: 484.4 kB / 0.8406 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1812, allocations: 4 kB / 0.8406 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009599/0.1821, allocations: 0.5667 MB / 0.8411 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1822, allocations: 8.625 kB / 0.8411 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1822, allocations: 8 kB / 0.8411 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.1825, allocations: 86.5 kB / 0.8412 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.1828, allocations: 87.83 kB / 0.8413 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.1828, allocations: 11.98 kB / 0.8413 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.1831, allocations: 27.91 kB / 0.8413 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.1831, allocations: 20 kB / 0.8414 GB, free: 14.66 MB / 0.5919 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 0.000185/0.1833, allocations: 178.3 kB / 0.8415 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.1833, allocations: 43.72 kB / 0.8416 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008772/0.1842, allocations: 468.3 kB / 0.842 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1842, allocations: 7.984 kB / 0.842 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1842, allocations: 4 kB / 0.842 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1842, allocations: 0 / 0.842 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.1857, allocations: 0.9199 MB / 0.8429 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1857, allocations: 4 kB / 0.8429 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.1859, allocations: 56 kB / 0.843 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.1861, allocations: 78.5 kB / 0.8431 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.1862, allocations: 8 kB / 0.8431 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1862, allocations: 0 / 0.8431 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1862, allocations: 4 kB / 0.8431 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.187, allocations: 0.5581 MB / 0.8436 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.1871, allocations: 55.73 kB / 0.8437 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.1871, allocations: 8 kB / 0.8437 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.1873, allocations: 23.97 kB / 0.8437 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.1874, allocations: 31.83 kB / 0.8437 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1874, allocations: 8 kB / 0.8437 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002256/0.1876, allocations: 235.2 kB / 0.844 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1876, allocations: 0 / 0.844 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004008/0.188, allocations: 88 kB / 0.844 GB, free: 11.78 MB / 0.5919 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 0.0001282/0.1882, allocations: 115.2 kB / 0.8442 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007759/0.189, allocations: 391.2 kB / 0.8445 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.189, allocations: 0 / 0.8445 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.1893, allocations: 202.4 kB / 0.8447 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.1899, allocations: 120.4 kB / 0.8448 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.191, allocations: 0.7269 MB / 0.8456 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.1914, allocations: 0.8311 MB / 0.8464 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.1916, allocations: 83.34 kB / 0.8464 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.1917, allocations: 27.44 kB / 0.8465 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.1917, allocations: 0 / 0.8465 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of Templates: time 0.00945/0.2012, allocations: 4.98 MB / 0.8513 GB, free: 4.301 MB / 0.5919 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=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.564155216998188] Failed to read output from testmodel.py, exit status != 0: 0.208329037996009 0.222125028 0.050291559000000007 Calling exit ...