Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0008239/0.0008239, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009821/0.0009821, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 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 0.8589/0.8589, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001386/0.001386, allocations: 237.5 kB / 259.4 MB, free: 13.03 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.635/0.635, allocations: 138.4 MB / 454.3 MB, free: 1.633 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: "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6463 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.047e-05, allocations: 5.125 kB / 0.6463 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.004033/0.004053, allocations: 4.64 MB / 0.6508 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.1032/0.1073, allocations: 132.8 MB / 0.7805 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.1081, allocations: 23.81 kB / 0.7805 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.1086, allocations: 210.1 kB / 0.7807 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.1102, allocations: 0.601 MB / 0.7813 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.1121, allocations: 0.8728 MB / 0.7821 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.1135, allocations: 1.478 MB / 0.7836 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006593/0.1142, allocations: 402.2 kB / 0.7839 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/0.1152, allocations: 0.7446 MB / 0.7847 GB, free: 3.449 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004554/0.1156, allocations: 410.8 kB / 0.7851 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.1157, allocations: 123.9 kB / 0.7852 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008639/0.1166, allocations: 499.4 kB / 0.7857 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.1168, allocations: 314.9 kB / 0.786 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.1171, allocations: 399 kB / 0.7863 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.1188, allocations: 1.803 MB / 0.7881 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1189, allocations: 0 / 0.7881 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1189, allocations: 0 / 0.7881 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.936e-05/0.1189, allocations: 4 kB / 0.7881 GB, free: 15.93 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002106/0.121, allocations: 1.442 MB / 0.7895 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.121, allocations: 12.75 kB / 0.7895 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.1211, allocations: 135.6 kB / 0.7897 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007819/0.1219, allocations: 236 kB / 0.7899 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009325/0.1229, allocations: 0.7374 MB / 0.7906 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.1229, allocations: 69.94 kB / 0.7907 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.123, allocations: 80 kB / 0.7907 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1241, allocations: 1.189 MB / 0.7919 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1241, allocations: 0 / 0.7919 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.1241, allocations: 44 kB / 0.7919 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.1241, allocations: 20 kB / 0.792 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.1252, allocations: 1.077 MB / 0.793 GB, free: 10.72 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.1279, allocations: 2.27 MB / 0.7952 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.129, allocations: 0.7695 MB / 0.796 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.1293, allocations: 280.4 kB / 0.7963 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.709e-05/0.1294, allocations: 20.64 kB / 0.7963 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/0.13, allocations: 0.5956 MB / 0.7969 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/0.13, allocations: 0 / 0.7969 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001897/0.1319, allocations: 1.144 MB / 0.798 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.132, allocations: 192.6 kB / 0.7982 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.1326, allocations: 0.6646 MB / 0.7988 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.1326, allocations: 41.7 kB / 0.7988 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1329, allocations: 425 kB / 0.7992 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.133, allocations: 281.5 kB / 0.7995 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.1332, allocations: 154.6 kB / 0.7997 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1333, allocations: 386.8 kB / 0.8 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.1336, allocations: 249.9 kB / 0.8003 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.134, allocations: 495.1 kB / 0.8007 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/0.1347, allocations: 0.5877 MB / 0.8013 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1347, allocations: 0 / 0.8013 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001185/0.1359, allocations: 0.814 MB / 0.8021 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1359, allocations: 11.98 kB / 0.8021 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1359, allocations: 3.938 kB / 0.8021 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/0.1362, allocations: 80.88 kB / 0.8022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.1366, allocations: 159.8 kB / 0.8024 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.1385, allocations: 1.521 MB / 0.8038 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.1391, allocations: 91.5 kB / 0.8039 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.1392, allocations: 27.98 kB / 0.804 GB, free: 15.12 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005152/0.1397, allocations: 277.7 kB / 0.8042 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1398, allocations: 91.5 kB / 0.8043 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.1412, allocations: 1.066 MB / 0.8053 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1412, allocations: 19.94 kB / 0.8054 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1412, allocations: 0 / 0.8054 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.1412, allocations: 7.969 kB / 0.8054 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.142, allocations: 0.7586 MB / 0.8061 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.142, allocations: 0 / 0.8061 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.1423, allocations: 151.8 kB / 0.8063 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.1425, allocations: 76.78 kB / 0.8063 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.1426, allocations: 23.98 kB / 0.8064 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.1437, allocations: 1.558 MB / 0.8079 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1437, allocations: 4.031 kB / 0.8079 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.1453, allocations: 1.34 MB / 0.8092 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/0.1458, allocations: 203.1 kB / 0.8094 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/0.1459, allocations: 16 kB / 0.8094 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.1462, allocations: 67.94 kB / 0.8095 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.1463, allocations: 80.8 kB / 0.8095 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/0.1464, allocations: 35.97 kB / 0.8096 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004477/0.1468, allocations: 487 kB / 0.81 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.1468, allocations: 0 / 0.81 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000663/0.1475, allocations: 323.2 kB / 0.8103 GB, free: 8.355 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002793/0.1503, allocations: 2.444 MB / 0.8127 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.1514, allocations: 0.7765 MB / 0.8135 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1514, allocations: 3.984 kB / 0.8135 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.1519, allocations: 0.4965 MB / 0.814 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.1527, allocations: 302.6 kB / 0.8143 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/0.1602, allocations: 6.443 MB / 0.8206 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1605, allocations: 452.8 kB / 0.821 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006299/0.1611, allocations: 266.8 kB / 0.8212 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.1615, allocations: 412.3 kB / 0.8216 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of SimCode: time 1.513e-06/0.1615, allocations: 0 / 0.8216 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.1996, allocations: 24 MB / 0.8451 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.251, allocations: 2.234 kB / 0.8451 GB, free: 5.09 MB / 0.6823 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.00407953094691] Failed to read output from testmodel.py, exit status != 0: 8.399356613866985 8.408699448 8.287838924 Calling exit ...