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.001406/0.001406, allocations: 106.5 kB / 16.45 MB, free: 6.035 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.001385/0.001385, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.262/1.262, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.002303/0.002303, allocations: 294.2 kB / 303 MB, free: 9.5 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.073/1.073, allocations: 180.9 MB / 0.5261 GB, free: 14.64 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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 104.6 kB / 0.7248 GB, free: 40 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1299, allocations: 94.16 MB / 0.8167 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006065/0.136, allocations: 4.909 MB / 0.8215 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003643/0.1396, allocations: 2.467 MB / 0.8239 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.1398, allocations: 27.81 kB / 0.824 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1409, allocations: 407.9 kB / 0.8243 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008176/0.1417, allocations: 461.7 kB / 0.8248 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.1424, allocations: 374.5 kB / 0.8251 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008856/0.1433, allocations: 0.9134 MB / 0.826 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.1437, allocations: 290.5 kB / 0.8263 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.1441, allocations: 342.6 kB / 0.8266 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.1445, allocations: 362.5 kB / 0.827 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/0.1446, allocations: 40 kB / 0.827 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.1451, allocations: 415.1 kB / 0.8274 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.1453, allocations: 191.3 kB / 0.8276 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.1456, allocations: 318.2 kB / 0.8279 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000906/0.1465, allocations: 0.8873 MB / 0.8288 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1465, allocations: 0 / 0.8288 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1465, allocations: 0 / 0.8288 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.1465, allocations: 3.938 kB / 0.8288 GB, free: 9.07 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.001322/0.1478, allocations: 0.9649 MB / 0.8297 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1479, allocations: 8.031 kB / 0.8297 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.727e-05/0.148, allocations: 90.7 kB / 0.8298 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.1491, allocations: 208.2 kB / 0.83 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.1499, allocations: 0.5378 MB / 0.8305 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.1499, allocations: 37.36 kB / 0.8306 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.15, allocations: 44.36 kB / 0.8306 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.151, allocations: 0.8522 MB / 0.8314 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.1511, allocations: 7.938 kB / 0.8314 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.1511, allocations: 20 kB / 0.8315 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.33e-05/0.1512, allocations: 64.95 kB / 0.8315 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.152, allocations: 0.5734 MB / 0.8321 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.1564, allocations: 5.647 MB / 0.8376 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.157, allocations: 426.2 kB / 0.838 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.1573, allocations: 204.7 kB / 0.8382 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1573, allocations: 8 kB / 0.8382 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1573, allocations: 34.56 kB / 0.8382 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.1573, allocations: 0 / 0.8382 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002402/0.1597, allocations: 1.518 MB / 0.8397 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1598, allocations: 55.69 kB / 0.8398 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.1603, allocations: 499 kB / 0.8403 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1603, allocations: 37.7 kB / 0.8403 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1605, allocations: 363.8 kB / 0.8406 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.927e-05/0.1606, allocations: 130.9 kB / 0.8408 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1608, allocations: 106.2 kB / 0.8409 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1609, allocations: 362.8 kB / 0.8412 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.1612, allocations: 201.2 kB / 0.8414 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.1617, allocations: 451 kB / 0.8418 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/0.1625, allocations: 0.6835 MB / 0.8425 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1625, allocations: 4 kB / 0.8425 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001215/0.1637, allocations: 0.81 MB / 0.8433 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1637, allocations: 8 kB / 0.8433 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.1638, allocations: 15.94 kB / 0.8433 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/0.1642, allocations: 156.3 kB / 0.8435 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.1646, allocations: 123.8 kB / 0.8436 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/0.168, allocations: 4.344 MB / 0.8478 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.1683, allocations: 39.91 kB / 0.8479 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.1684, allocations: 28 kB / 0.8479 GB, free: 3.98 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.0002358/0.1686, allocations: 217.6 kB / 0.8481 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.1687, allocations: 63.61 kB / 0.8482 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000972/0.1696, allocations: 0.5891 MB / 0.8487 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.1696, allocations: 7.938 kB / 0.8487 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1697, allocations: 4 kB / 0.8487 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1697, allocations: 4 kB / 0.8488 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.1714, allocations: 1.25 MB / 0.85 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.1714, allocations: 11.98 kB / 0.85 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.1717, allocations: 51.95 kB / 0.85 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.172, allocations: 140.1 kB / 0.8502 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.172, allocations: 11.94 kB / 0.8502 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003243/0.1753, allocations: 4.337 MB / 0.8544 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1753, allocations: 4.031 kB / 0.8544 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.1762, allocations: 0.7048 MB / 0.8551 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.1764, allocations: 172.6 kB / 0.8553 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.1765, allocations: 8 kB / 0.8553 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.1767, allocations: 31.97 kB / 0.8553 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.1768, allocations: 35.89 kB / 0.8553 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1768, allocations: 8 kB / 0.8553 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003356/0.1771, allocations: 338.8 kB / 0.8557 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1771, allocations: 0 / 0.8557 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005462/0.1777, allocations: 136 kB / 0.8558 GB, free: 11.25 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.001248/0.1789, allocations: 1.27 MB / 0.857 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.1803, allocations: 1.005 MB / 0.858 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1803, allocations: 8.125 kB / 0.858 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.1811, allocations: 0.7216 MB / 0.8587 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.1819, allocations: 211.5 kB / 0.8589 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/0.1878, allocations: 5.103 MB / 0.8639 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.1883, allocations: 0.898 MB / 0.8648 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.1886, allocations: 121.3 kB / 0.8649 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.1888, allocations: 195.4 kB / 0.8651 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.1888, allocations: 0 / 0.8651 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.2338, allocations: 12.8 MB / 0.8776 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.522/9.755, allocations: 20.23 kB / 0.8776 GB, free: 4.574 MB / 0.6231 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.38576948363334] Failed to read output from testmodel.py, exit status != 0: 9.851455878932029 9.875258757 9.724501271 Calling exit ...