Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001263/0.001263, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001342/0.001342, allocations: 189.6 kB / 22.85 MB, free: 5.641 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.352/1.352, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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.002436/0.002436, allocations: 289 kB / 307 MB, free: 8.352 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.171/1.171, allocations: 180.8 MB / 0.5304 GB, free: 14.5 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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 106.1 kB / 0.7311 GB, free: 38.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.14, allocations: 94.21 MB / 0.8231 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006423/0.1464, allocations: 4.969 MB / 0.828 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004041/0.1504, allocations: 2.526 MB / 0.8304 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.1506, allocations: 35.62 kB / 0.8305 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.1518, allocations: 409.9 kB / 0.8308 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008766/0.1527, allocations: 469.7 kB / 0.8313 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.1534, allocations: 381.5 kB / 0.8317 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009566/0.1544, allocations: 0.9216 MB / 0.8326 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.1548, allocations: 267.4 kB / 0.8328 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.1552, allocations: 350.7 kB / 0.8331 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.1557, allocations: 362.5 kB / 0.8335 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.1558, allocations: 40 kB / 0.8335 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.1563, allocations: 367.1 kB / 0.8339 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1565, allocations: 183.3 kB / 0.8341 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.1568, allocations: 318.2 kB / 0.8344 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009777/0.1578, allocations: 0.8832 MB / 0.8352 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1578, allocations: 0 / 0.8352 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1578, allocations: 0 / 0.8352 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.1578, allocations: 0 / 0.8352 GB, free: 5.348 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001394/0.1592, allocations: 0.8935 MB / 0.8361 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1592, allocations: 8.031 kB / 0.8361 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.1605, allocations: 200.3 kB / 0.8363 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/0.1613, allocations: 480.8 kB / 0.8368 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.1613, allocations: 33.38 kB / 0.8368 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.1614, allocations: 48.31 kB / 0.8368 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1626, allocations: 0.9779 MB / 0.8378 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.1626, allocations: 7.938 kB / 0.8378 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.1626, allocations: 23.98 kB / 0.8378 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.244e-05/0.1627, allocations: 64.95 kB / 0.8379 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.1636, allocations: 0.5695 MB / 0.8384 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004585/0.1682, allocations: 5.57 MB / 0.8439 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.1688, allocations: 426.2 kB / 0.8443 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.1691, allocations: 200.7 kB / 0.8445 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1692, allocations: 8 kB / 0.8445 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1692, allocations: 30.56 kB / 0.8445 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.1692, allocations: 0 / 0.8445 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002408/0.1716, allocations: 1.134 MB / 0.8456 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1716, allocations: 51.69 kB / 0.8457 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.1722, allocations: 0.495 MB / 0.8461 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.1722, allocations: 33.7 kB / 0.8462 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.1724, allocations: 367.8 kB / 0.8465 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1725, allocations: 119 kB / 0.8466 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.1727, allocations: 114.2 kB / 0.8468 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1729, allocations: 362.8 kB / 0.8471 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.1732, allocations: 193.2 kB / 0.8473 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.1736, allocations: 451 kB / 0.8477 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008565/0.1745, allocations: 0.6916 MB / 0.8484 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1745, allocations: 0 / 0.8484 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001305/0.1758, allocations: 0.8097 MB / 0.8492 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1758, allocations: 8 kB / 0.8492 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1758, allocations: 8 kB / 0.8492 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.1763, allocations: 160.3 kB / 0.8493 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.1768, allocations: 123.8 kB / 0.8495 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.1802, allocations: 4.043 MB / 0.8534 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.1805, allocations: 39.91 kB / 0.8535 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.1805, allocations: 31.94 kB / 0.8535 GB, free: 1.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002452/0.1808, allocations: 222.2 kB / 0.8537 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.1809, allocations: 59.62 kB / 0.8538 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.1819, allocations: 0.5929 MB / 0.8543 GB, free: 448 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.182, allocations: 4 kB / 0.8543 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.182, allocations: 4 kB / 0.8543 GB, free: 440 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.182, allocations: 4 kB / 0.8543 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.1838, allocations: 1.231 MB / 0.8555 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1838, allocations: 4 kB / 0.8555 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.1841, allocations: 51.89 kB / 0.8556 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004071/0.1845, allocations: 136.2 kB / 0.8557 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.1845, allocations: 11.94 kB / 0.8557 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.1879, allocations: 4.042 MB / 0.8597 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1879, allocations: 4 kB / 0.8597 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1889, allocations: 0.7135 MB / 0.8604 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.1891, allocations: 91.58 kB / 0.8605 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.1892, allocations: 11.98 kB / 0.8605 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1894, allocations: 19.98 kB / 0.8605 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.1895, allocations: 35.88 kB / 0.8605 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1895, allocations: 12 kB / 0.8606 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003579/0.1899, allocations: 330.8 kB / 0.8609 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1899, allocations: 0 / 0.8609 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005757/0.1905, allocations: 144 kB / 0.861 GB, free: 9.113 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0001318/0.1906, allocations: 111.2 kB / 0.8611 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.1919, allocations: 0.8541 MB / 0.8619 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1919, allocations: 0 / 0.8619 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.1927, allocations: 0.5766 MB / 0.8625 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.1936, allocations: 204.8 kB / 0.8627 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1951, allocations: 1.047 MB / 0.8637 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.1957, allocations: 0.9097 MB / 0.8646 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002873/0.196, allocations: 121.3 kB / 0.8647 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.1961, allocations: 47.31 kB / 0.8648 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.1961, allocations: 0 / 0.8648 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of Templates: time 0.01483/0.2109, allocations: 8.054 MB / 0.8726 GB, free: 13.12 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.865690128994174] Failed to read output from testmodel.py, exit status != 0: 0.2181934560649097 0.23229396599999996 0.071611178 Calling exit ...