Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.00138/0.00138, allocations: 108.2 kB / 16.46 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.001379/0.001379, 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.272/1.272, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.002315/0.002315, allocations: 290.7 kB / 303 MB, free: 9.512 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.105/1.105, allocations: 180.9 MB / 0.5261 GB, free: 14.63 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.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 101.6 kB / 0.7247 GB, free: 40.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.127, allocations: 94.17 MB / 0.8167 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004493/0.1315, allocations: 3.113 MB / 0.8197 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.1342, allocations: 1.925 MB / 0.8216 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.1343, allocations: 4 kB / 0.8216 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008279/0.1351, allocations: 282.9 kB / 0.8219 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.1355, allocations: 199.1 kB / 0.8221 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.136, allocations: 250.6 kB / 0.8223 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.1363, allocations: 322.7 kB / 0.8226 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.1366, allocations: 157.2 kB / 0.8228 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1368, allocations: 131.5 kB / 0.8229 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.137, allocations: 159.4 kB / 0.8231 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.1371, allocations: 20 kB / 0.8231 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.1376, allocations: 419.1 kB / 0.8235 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.867e-05/0.1377, allocations: 83.73 kB / 0.8236 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1378, allocations: 119.5 kB / 0.8237 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000559/0.1384, allocations: 490.3 kB / 0.8241 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1384, allocations: 4 kB / 0.8241 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1384, allocations: 0 / 0.8241 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.1384, allocations: 7.938 kB / 0.8242 GB, free: 13.77 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008028/0.1392, allocations: 0.5671 MB / 0.8247 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1392, allocations: 12.03 kB / 0.8247 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.1393, allocations: 62.7 kB / 0.8248 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.14, allocations: 104.7 kB / 0.8249 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1403, allocations: 274.6 kB / 0.8251 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1404, allocations: 16.8 kB / 0.8252 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1404, allocations: 16.38 kB / 0.8252 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.1409, allocations: 361.2 kB / 0.8255 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1409, allocations: 4 kB / 0.8255 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.1409, allocations: 7.984 kB / 0.8255 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.141, allocations: 28.42 kB / 0.8256 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.1414, allocations: 293.5 kB / 0.8258 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.1435, allocations: 1.726 MB / 0.8275 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.1439, allocations: 314.2 kB / 0.8278 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1441, allocations: 113.5 kB / 0.8279 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.921e-05/0.1442, allocations: 85.09 kB / 0.828 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.1442, allocations: 38.56 kB / 0.828 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.163e-06/0.1442, allocations: 0 / 0.828 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002225/0.1465, allocations: 0.9665 MB / 0.829 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.1465, allocations: 85.08 kB / 0.8291 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.1467, allocations: 208.5 kB / 0.8293 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.1467, allocations: 33.7 kB / 0.8293 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1468, allocations: 172.5 kB / 0.8295 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.1469, allocations: 83.25 kB / 0.8295 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.147, allocations: 61.66 kB / 0.8296 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1471, allocations: 334.8 kB / 0.8299 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1473, allocations: 131.9 kB / 0.8301 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.1476, allocations: 205.4 kB / 0.8302 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.148, allocations: 373.1 kB / 0.8306 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.148, allocations: 4 kB / 0.8306 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008087/0.1488, allocations: 0.5038 MB / 0.8311 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1488, allocations: 4 kB / 0.8311 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1488, allocations: 4.312 kB / 0.8311 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.1493, allocations: 159.2 kB / 0.8313 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1495, allocations: 63.89 kB / 0.8313 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.1527, allocations: 4.186 MB / 0.8354 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1528, allocations: 19.97 kB / 0.8354 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1529, allocations: 16 kB / 0.8354 GB, free: 1.332 MB / 0.5762 GB 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.153, allocations: 167.1 kB / 0.8356 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.1531, allocations: 27.84 kB / 0.8356 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007957/0.1539, allocations: 478.4 kB / 0.8361 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1539, allocations: 4 kB / 0.8361 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1539, allocations: 0 / 0.8361 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1539, allocations: 0 / 0.8361 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1554, allocations: 0.996 MB / 0.8371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1554, allocations: 7.938 kB / 0.8371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.1555, allocations: 39.92 kB / 0.8371 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000367/0.1559, allocations: 143.6 kB / 0.8372 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1559, allocations: 8 kB / 0.8373 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/0.1589, allocations: 4.159 MB / 0.8413 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1589, allocations: 0 / 0.8413 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.1596, allocations: 0.6178 MB / 0.8419 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.1598, allocations: 128.9 kB / 0.842 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1598, allocations: 16 kB / 0.8421 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.16, allocations: 19.98 kB / 0.8421 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1601, allocations: 23.91 kB / 0.8421 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1601, allocations: 8 kB / 0.8421 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001424/0.1602, allocations: 160.1 kB / 0.8423 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1602, allocations: 4 kB / 0.8423 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004394/0.1607, allocations: 87.94 kB / 0.8423 GB, free: 9.734 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.1618, allocations: 1.197 MB / 0.8435 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008665/0.1626, allocations: 0.5517 MB / 0.8441 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1626, allocations: 4.625 kB / 0.8441 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.1631, allocations: 407.2 kB / 0.8444 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.1636, allocations: 41.61 kB / 0.8445 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.1675, allocations: 3.336 MB / 0.8477 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1679, allocations: 0.787 MB / 0.8485 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.1681, allocations: 54.25 kB / 0.8486 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.1682, allocations: 71.41 kB / 0.8486 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.1682, allocations: 0 / 0.8486 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.2047, allocations: 6.771 MB / 0.8552 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.17, allocations: 8.531 kB / 0.8553 GB, free: 12.34 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.829217853955925] Failed to read output from testmodel.py, exit status != 0: 11.270419966895133 11.283059065 11.142164222 Calling exit ...