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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005158/0.005157, allocations: 98.56 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.001307/0.001307, allocations: 195.5 kB / 16.68 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 288.5 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.224/1.224, allocations: 178.6 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 103.8 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4956, allocations: 89.12 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006441/0.5021, allocations: 5.115 MB / 0.7863 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.6874, allocations: 150.6 MB / 0.9334 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.6885, allocations: 19.88 kB / 0.9334 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.6892, allocations: 186.2 kB / 0.9336 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.6913, allocations: 0.5707 MB / 0.9342 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.6934, allocations: 0.8368 MB / 0.935 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001679/0.695, allocations: 1.424 MB / 0.9364 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009087/0.696, allocations: 0.599 MB / 0.937 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006904/0.6967, allocations: 0.4905 MB / 0.9374 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006479/0.6973, allocations: 0.5095 MB / 0.9379 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.6975, allocations: 120 kB / 0.938 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009984/0.6985, allocations: 491.5 kB / 0.9385 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.6989, allocations: 303 kB / 0.9388 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005809/0.6994, allocations: 0.5714 MB / 0.9394 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.7017, allocations: 1.672 MB / 0.941 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7017, allocations: 0 / 0.941 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7017, allocations: 4 kB / 0.941 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.327e-05/0.7017, allocations: 0 / 0.941 GB, free: 4.594 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002775/0.7045, allocations: 1.507 MB / 0.9425 GB, free: 3.031 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7046, allocations: 12.03 kB / 0.9425 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000168/0.7047, allocations: 143.5 kB / 0.9426 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/0.7057, allocations: 196 kB / 0.9428 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.7069, allocations: 0.7784 MB / 0.9436 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.707, allocations: 70 kB / 0.9436 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.7071, allocations: 84 kB / 0.9437 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.7088, allocations: 0.9379 MB / 0.9446 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.7089, allocations: 0 / 0.9446 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.709, allocations: 36 kB / 0.9447 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.709, allocations: 24 kB / 0.9447 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.711, allocations: 1.12 MB / 0.9458 GB, free: 15.55 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.004608/0.7156, allocations: 2.74 MB / 0.9485 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.7173, allocations: 0.8089 MB / 0.9492 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/0.7179, allocations: 314.7 kB / 0.9495 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-05/0.718, allocations: 32.59 kB / 0.9496 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009588/0.719, allocations: 497 kB / 0.9501 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 5.33e-06/0.719, allocations: 0 / 0.9501 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.003613/0.7226, allocations: 1.214 MB / 0.9512 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.7228, allocations: 200.6 kB / 0.9514 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.7238, allocations: 0.6372 MB / 0.952 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/0.7239, allocations: 45.7 kB / 0.9521 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.7244, allocations: 421 kB / 0.9525 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.7247, allocations: 273.7 kB / 0.9528 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.7249, allocations: 154.5 kB / 0.9529 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.7252, allocations: 386.8 kB / 0.9533 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.7257, allocations: 253.9 kB / 0.9535 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.7264, allocations: 366.5 kB / 0.9539 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.7275, allocations: 0.5877 MB / 0.9544 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.7275, allocations: 4.062 kB / 0.9544 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001994/0.7295, allocations: 0.8179 MB / 0.9552 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7295, allocations: 8 kB / 0.9552 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7296, allocations: 0 / 0.9552 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.7302, allocations: 84.81 kB / 0.9553 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.7309, allocations: 163.8 kB / 0.9555 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.7332, allocations: 1.619 MB / 0.9571 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.7339, allocations: 98.52 kB / 0.9572 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.734, allocations: 35.97 kB / 0.9572 GB, free: 3.406 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 (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.0004854/0.7345, allocations: 261.6 kB / 0.9574 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.7347, allocations: 91.44 kB / 0.9575 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/0.7372, allocations: 1.07 MB / 0.9586 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.7373, allocations: 11.98 kB / 0.9586 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7373, allocations: 0 / 0.9586 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.7373, allocations: 11.92 kB / 0.9586 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.7387, allocations: 0.9153 MB / 0.9595 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.7387, allocations: 4 kB / 0.9595 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.7394, allocations: 147.8 kB / 0.9596 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/0.7398, allocations: 76.72 kB / 0.9597 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/0.7399, allocations: 27.98 kB / 0.9597 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.7421, allocations: 1.65 MB / 0.9613 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7421, allocations: 12.03 kB / 0.9614 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.745, allocations: 1.336 MB / 0.9627 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.7455, allocations: 280.2 kB / 0.9629 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.7457, allocations: 23.92 kB / 0.963 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.7463, allocations: 59.94 kB / 0.963 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.7465, allocations: 76.95 kB / 0.9631 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.7466, allocations: 35.98 kB / 0.9631 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007453/0.7473, allocations: 467 kB / 0.9636 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7473, allocations: 0 / 0.9636 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009319/0.7483, allocations: 339 kB / 0.9639 GB, free: 12.29 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 (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.00505/0.7533, allocations: 2.383 MB / 0.9662 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.7552, allocations: 0.8041 MB / 0.967 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7552, allocations: 0 / 0.967 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.7562, allocations: 0.5236 MB / 0.9675 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.7576, allocations: 307.3 kB / 0.9678 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.7692, allocations: 6.389 MB / 0.974 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008888/0.7701, allocations: 1.035 MB / 0.9751 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000968/0.7711, allocations: 266.7 kB / 0.9753 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/0.7718, allocations: 395.2 kB / 0.9757 GB, free: 176 kB / 0.7325 GB Notification: Performance of SimCode: time 1.433e-06/0.7718, allocations: 0 / 0.9757 GB, free: 176 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4111/1.183, allocations: 21.95 MB / 0.9971 GB, free: 200.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.9, allocations: 6.359 kB / 0.9971 GB, free: 200.5 MB / 0.7481 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)