Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_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.008637/0.008637, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001962/0.001962, allocations: 198.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002575/0.002576, allocations: 291 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.271/1.271, allocations: 178.5 MB / 0.5074 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 99.84 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.5019, allocations: 89.13 MB / 0.7813 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006575/0.5086, allocations: 5.207 MB / 0.7864 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1887/0.6973, allocations: 150.7 MB / 0.9335 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.6987, allocations: 15.94 kB / 0.9336 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007673/0.6996, allocations: 202.1 kB / 0.9338 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.7022, allocations: 0.5765 MB / 0.9343 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.7045, allocations: 0.8446 MB / 0.9351 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.7068, allocations: 1.455 MB / 0.9366 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.708, allocations: 0.6065 MB / 0.9372 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.709, allocations: 0.506 MB / 0.9376 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007753/0.7098, allocations: 0.5276 MB / 0.9382 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.71, allocations: 120 kB / 0.9383 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.7112, allocations: 487.6 kB / 0.9387 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.7115, allocations: 311 kB / 0.939 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.7121, allocations: 0.5829 MB / 0.9396 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.7148, allocations: 1.7 MB / 0.9413 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.7148, allocations: 4 kB / 0.9413 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of FrontEnd: time 5.26e-06/0.7148, allocations: 0 / 0.9413 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.863e-05/0.7149, allocations: 7.938 kB / 0.9413 GB, free: 4.383 MB / 0.7012 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.003203/0.7181, allocations: 1.526 MB / 0.9428 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.7182, allocations: 8.031 kB / 0.9428 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.7183, allocations: 143.7 kB / 0.9429 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009667/0.7193, allocations: 204 kB / 0.9431 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.7206, allocations: 0.7901 MB / 0.9439 GB, free: 1.613 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/0.7207, allocations: 66 kB / 0.9439 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.7208, allocations: 88 kB / 0.944 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.7226, allocations: 0.9457 MB / 0.945 GB, free: 488 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.7226, allocations: 7.938 kB / 0.945 GB, free: 480 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-05/0.7227, allocations: 39.98 kB / 0.945 GB, free: 440 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.7228, allocations: 20 kB / 0.945 GB, free: 420 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.7248, allocations: 1.136 MB / 0.9461 GB, free: 15.28 MB / 0.7169 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.004561/0.7293, allocations: 2.795 MB / 0.9489 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.7311, allocations: 0.8509 MB / 0.9497 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/0.7317, allocations: 322.7 kB / 0.95 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.354e-05/0.7318, allocations: 34.75 kB / 0.95 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009486/0.7327, allocations: 0.508 MB / 0.9505 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 2.374e-06/0.7327, allocations: 0 / 0.9505 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.003571/0.7363, allocations: 1.255 MB / 0.9517 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/0.7365, allocations: 188.9 kB / 0.9519 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009693/0.7375, allocations: 0.6451 MB / 0.9526 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.505e-05/0.7376, allocations: 45.7 kB / 0.9526 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.738, allocations: 429 kB / 0.953 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.7383, allocations: 285.6 kB / 0.9533 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.7386, allocations: 154.6 kB / 0.9534 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.7389, allocations: 386.8 kB / 0.9538 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.7394, allocations: 257.9 kB / 0.954 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.7401, allocations: 370.5 kB / 0.9544 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.7413, allocations: 0.6125 MB / 0.955 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7413, allocations: 0 / 0.955 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002179/0.7435, allocations: 0.8374 MB / 0.9558 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.7435, allocations: 8 kB / 0.9558 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7435, allocations: 0 / 0.9558 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/0.7441, allocations: 84.86 kB / 0.9559 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.7448, allocations: 159.8 kB / 0.9561 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.7477, allocations: 1.642 MB / 0.9577 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.7487, allocations: 91.5 kB / 0.9577 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/0.7488, allocations: 27.98 kB / 0.9578 GB, free: 2.887 MB / 0.7169 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.0007254/0.7495, allocations: 273.7 kB / 0.958 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.7498, allocations: 91.38 kB / 0.9581 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.7526, allocations: 1.09 MB / 0.9592 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.7526, allocations: 11.98 kB / 0.9592 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7526, allocations: 7.984 kB / 0.9592 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.7526, allocations: 3.984 kB / 0.9592 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.754, allocations: 0.9348 MB / 0.9601 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.754, allocations: 3.938 kB / 0.9601 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/0.7547, allocations: 155.8 kB / 0.9603 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/0.7552, allocations: 72.8 kB / 0.9603 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/0.7553, allocations: 27.97 kB / 0.9604 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.7576, allocations: 1.662 MB / 0.962 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7576, allocations: 0 / 0.962 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.7607, allocations: 1.375 MB / 0.9633 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/0.7613, allocations: 280.1 kB / 0.9636 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.7614, allocations: 32.05 kB / 0.9636 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006419/0.7621, allocations: 55.94 kB / 0.9637 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.7623, allocations: 72.89 kB / 0.9638 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.7624, allocations: 35.98 kB / 0.9638 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006715/0.7631, allocations: 475 kB / 0.9642 GB, free: 12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7631, allocations: 4 kB / 0.9642 GB, free: 12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008884/0.764, allocations: 331.2 kB / 0.9646 GB, free: 11.68 MB / 0.7325 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.005305/0.7693, allocations: 2.416 MB / 0.9669 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002139/0.7715, allocations: 0.8312 MB / 0.9677 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7715, allocations: 0 / 0.9677 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.7725, allocations: 0.5316 MB / 0.9683 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.774, allocations: 315.4 kB / 0.9686 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.7865, allocations: 6.542 MB / 0.9749 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.7874, allocations: 1.043 MB / 0.976 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009913/0.7884, allocations: 263 kB / 0.9762 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/0.789, allocations: 407.2 kB / 0.9766 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of SimCode: time 1.423e-06/0.789, allocations: 0 / 0.9766 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.491/1.28, allocations: 22.29 MB / 0.9984 GB, free: 198.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.15, allocations: 9.469 kB / 0.9984 GB, free: 198.8 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)