Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 105.4 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.431/2.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.201/1.201, allocations: 115.3 MB / 406.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 65.92 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3117, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.01291/0.3247, allocations: 5.19 MB / 0.6367 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 1.101/1.426, allocations: 150.6 MB / 0.7838 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/1.428, allocations: 16.84 kB / 0.7838 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/1.429, allocations: 202.5 kB / 0.784 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003853/1.433, allocations: 0.5752 MB / 0.7845 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/1.437, allocations: 0.8488 MB / 0.7854 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00412/1.441, allocations: 1.449 MB / 0.7868 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/1.443, allocations: 0.607 MB / 0.7874 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/1.445, allocations: 0.498 MB / 0.7879 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/1.446, allocations: 0.5321 MB / 0.7884 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003809/1.447, allocations: 119.5 kB / 0.7885 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/1.449, allocations: 486.3 kB / 0.789 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006146/1.45, allocations: 312.4 kB / 0.7893 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/1.451, allocations: 0.5844 MB / 0.7898 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004016/1.455, allocations: 1.692 MB / 0.7915 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/1.455, allocations: 4 kB / 0.7915 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.332e-06/1.455, allocations: 0 / 0.7915 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.304e-05/1.455, allocations: 1.812 kB / 0.7915 GB, free: 12.87 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.005021/1.46, allocations: 1.496 MB / 0.7929 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 0.000101/1.46, allocations: 10 kB / 0.793 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002976/1.46, allocations: 138.7 kB / 0.7931 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/1.462, allocations: 199.3 kB / 0.7933 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/1.464, allocations: 0.7901 MB / 0.7941 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.464, allocations: 74.25 kB / 0.7941 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/1.465, allocations: 82.62 kB / 0.7942 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/1.467, allocations: 0.9554 MB / 0.7951 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/1.467, allocations: 0 / 0.7951 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.467, allocations: 37.91 kB / 0.7952 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/1.467, allocations: 20.53 kB / 0.7952 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/1.47, allocations: 1.137 MB / 0.7963 GB, free: 11.42 MB / 0.5919 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.006544/1.477, allocations: 2.784 MB / 0.799 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/1.479, allocations: 0.8452 MB / 0.7998 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008157/1.48, allocations: 329 kB / 0.8002 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/1.48, allocations: 36.94 kB / 0.8002 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/1.481, allocations: 0.5025 MB / 0.8007 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 4.979e-06/1.481, allocations: 0 / 0.8007 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.005016/1.486, allocations: 1.245 MB / 0.8019 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/1.487, allocations: 196 kB / 0.8021 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/1.488, allocations: 0.6474 MB / 0.8027 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/1.488, allocations: 49.05 kB / 0.8028 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006038/1.489, allocations: 414.8 kB / 0.8032 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/1.489, allocations: 282.8 kB / 0.8034 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/1.49, allocations: 152.2 kB / 0.8036 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003042/1.49, allocations: 398.2 kB / 0.804 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/1.491, allocations: 254.8 kB / 0.8042 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008974/1.492, allocations: 370.3 kB / 0.8046 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/1.493, allocations: 0.6059 MB / 0.8051 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.493, allocations: 2.625 kB / 0.8051 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00292/1.496, allocations: 0.8318 MB / 0.806 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/1.496, allocations: 8.859 kB / 0.806 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.496, allocations: 2.375 kB / 0.806 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008461/1.497, allocations: 82.84 kB / 0.806 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/1.498, allocations: 162.5 kB / 0.8062 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/1.501, allocations: 1.629 MB / 0.8078 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.503, allocations: 95.67 kB / 0.8079 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.902e-05/1.503, allocations: 30.91 kB / 0.8079 GB, free: 6.18 MB / 0.5919 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 (92): * Single equations (assignments): 91 * 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.0008258/1.504, allocations: 267.1 kB / 0.8082 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/1.504, allocations: 84.38 kB / 0.8083 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/1.507, allocations: 1.096 MB / 0.8093 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.507, allocations: 8.344 kB / 0.8093 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.507, allocations: 0 / 0.8093 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/1.507, allocations: 6.172 kB / 0.8093 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/1.509, allocations: 0.9375 MB / 0.8103 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.509, allocations: 0 / 0.8103 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.511, allocations: 157.3 kB / 0.8104 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006589/1.511, allocations: 74.09 kB / 0.8105 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.511, allocations: 26.08 kB / 0.8105 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/1.514, allocations: 1.659 MB / 0.8121 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.514, allocations: 2.094 kB / 0.8121 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004382/1.519, allocations: 1.367 MB / 0.8135 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008743/1.52, allocations: 278.2 kB / 0.8137 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/1.52, allocations: 24.41 kB / 0.8137 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000926/1.521, allocations: 64.23 kB / 0.8138 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/1.521, allocations: 72.25 kB / 0.8139 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.521, allocations: 42.47 kB / 0.8139 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001074/1.522, allocations: 479.3 kB / 0.8144 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/1.522, allocations: 0 / 0.8144 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001675/1.524, allocations: 331.8 kB / 0.8147 GB, free: 1.82 MB / 0.5919 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 (96): * Single equations (assignments): 90 * 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.006398/1.531, allocations: 2.417 MB / 0.817 GB, free: 392 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002678/1.533, allocations: 0.823 MB / 0.8178 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/1.533, allocations: 0 / 0.8178 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/1.535, allocations: 0.5407 MB / 0.8184 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.537, allocations: 306.5 kB / 0.8187 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.554, allocations: 6.502 MB / 0.825 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.556, allocations: 1.044 MB / 0.826 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001547/1.557, allocations: 266 kB / 0.8263 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009057/1.558, allocations: 402.2 kB / 0.8267 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of SimCode: time 1.703e-06/1.558, allocations: 0 / 0.8267 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.671, allocations: 22.68 MB / 0.8488 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.8/24.47, allocations: 3.984 kB / 0.8488 GB, free: 4.562 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)