Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.000786/0.000786, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008983/0.0008983, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8608/0.8608, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001524/0.001524, allocations: 229.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.6415/0.6415, allocations: 138.4 MB / 454.3 MB, free: 1.66 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.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.318e-05, allocations: 2.281 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.003571/0.003584, allocations: 4.478 MB / 0.6506 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.1053/0.1089, allocations: 132.7 MB / 0.7802 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008464/0.1097, allocations: 27.81 kB / 0.7803 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.1103, allocations: 198.2 kB / 0.7805 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.112, allocations: 0.576 MB / 0.781 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.1136, allocations: 0.8597 MB / 0.7819 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.1148, allocations: 1.431 MB / 0.7833 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005505/0.1154, allocations: 385.9 kB / 0.7836 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1164, allocations: 0.7211 MB / 0.7843 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.1168, allocations: 390.9 kB / 0.7847 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/0.1169, allocations: 116 kB / 0.7848 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007699/0.1177, allocations: 499.3 kB / 0.7853 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.1178, allocations: 307 kB / 0.7856 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.1181, allocations: 379 kB / 0.7859 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.1196, allocations: 1.756 MB / 0.7877 GB, free: 420 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1197, allocations: 3.938 kB / 0.7877 GB, free: 416 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/0.1197, allocations: 0 / 0.7877 GB, free: 416 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.1197, allocations: 0 / 0.7877 GB, free: 416 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001714/0.1214, allocations: 1.411 MB / 0.789 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1214, allocations: 12.69 kB / 0.7891 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.1215, allocations: 131.3 kB / 0.7892 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000772/0.1223, allocations: 232 kB / 0.7894 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008949/0.1232, allocations: 0.7064 MB / 0.7901 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.1232, allocations: 65.94 kB / 0.7902 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.1233, allocations: 83.94 kB / 0.7902 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.1246, allocations: 1.166 MB / 0.7914 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1246, allocations: 0 / 0.7914 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.1247, allocations: 47.92 kB / 0.7914 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.1247, allocations: 20 kB / 0.7914 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.1257, allocations: 1.054 MB / 0.7925 GB, free: 11.3 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.002572/0.1283, allocations: 2.289 MB / 0.7947 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009537/0.1293, allocations: 0.7361 MB / 0.7954 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.1296, allocations: 274.6 kB / 0.7957 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.755e-05/0.1296, allocations: 24.62 kB / 0.7957 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.1302, allocations: 0.58 MB / 0.7963 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 1.814e-06/0.1302, allocations: 0 / 0.7963 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.00186/0.1321, allocations: 1.109 MB / 0.7974 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.1322, allocations: 192.6 kB / 0.7975 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009078/0.1331, allocations: 0.6529 MB / 0.7982 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.1331, allocations: 41.7 kB / 0.7982 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.1334, allocations: 420.9 kB / 0.7986 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1335, allocations: 265.7 kB / 0.7989 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1337, allocations: 146.6 kB / 0.799 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1338, allocations: 386.7 kB / 0.7994 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.1341, allocations: 245.9 kB / 0.7996 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.1345, allocations: 479.9 kB / 0.8001 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.1351, allocations: 0.5846 MB / 0.8006 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1351, allocations: 7.938 kB / 0.8006 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001093/0.1362, allocations: 0.7984 MB / 0.8014 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1362, allocations: 5.562 kB / 0.8014 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1362, allocations: 0 / 0.8014 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003202/0.1365, allocations: 80.91 kB / 0.8015 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.1369, allocations: 147.8 kB / 0.8017 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.1383, allocations: 1.519 MB / 0.8031 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.1387, allocations: 95.58 kB / 0.8032 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.1387, allocations: 27.98 kB / 0.8033 GB, free: 15.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.000359/0.1391, allocations: 269.6 kB / 0.8035 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.1392, allocations: 91.38 kB / 0.8036 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.1405, allocations: 1.046 MB / 0.8046 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.1405, allocations: 11.98 kB / 0.8046 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1405, allocations: 0 / 0.8046 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1405, allocations: 7.984 kB / 0.8046 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009186/0.1415, allocations: 0.7468 MB / 0.8054 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1415, allocations: 4 kB / 0.8054 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.1418, allocations: 139.8 kB / 0.8055 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.142, allocations: 76.72 kB / 0.8056 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.142, allocations: 27.98 kB / 0.8056 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.1431, allocations: 1.559 MB / 0.8071 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1431, allocations: 0 / 0.8071 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1442, allocations: 0.9166 MB / 0.808 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.1445, allocations: 195.1 kB / 0.8082 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.1446, allocations: 19.98 kB / 0.8082 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.1449, allocations: 59.94 kB / 0.8083 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.145, allocations: 72.86 kB / 0.8084 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.1451, allocations: 31.98 kB / 0.8084 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004134/0.1455, allocations: 483 kB / 0.8088 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1455, allocations: 4 kB / 0.8088 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006563/0.1461, allocations: 327.1 kB / 0.8092 GB, free: 9.582 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.002277/0.1484, allocations: 2.003 MB / 0.8111 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.1495, allocations: 0.7689 MB / 0.8119 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1495, allocations: 0 / 0.8119 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009268/0.1504, allocations: 488.2 kB / 0.8123 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.1514, allocations: 304.4 kB / 0.8126 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/0.1589, allocations: 6.246 MB / 0.8187 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.1593, allocations: 432.1 kB / 0.8191 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005912/0.1599, allocations: 274.6 kB / 0.8194 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.1603, allocations: 408.3 kB / 0.8198 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of SimCode: time 1.273e-06/0.1603, allocations: 0 / 0.8198 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/0.1984, allocations: 23.52 MB / 0.8428 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.366, allocations: 6.656 kB / 0.8428 GB, free: 7.484 MB / 0.6823 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.099493656307459] Failed to read output from testmodel.py, exit status != 0: 8.516210081987083 8.524398699 8.402816749 Calling exit ...