Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 108.3 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 196.5 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.609/2.609, allocations: 469.8 MB / 0.7491 GB, free: 2.992 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001863, allocations: 67.89 kB / 1.073 GB, free: 124 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6966/0.6985, allocations: 159.1 MB / 1.229 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006978/0.7055, allocations: 5.236 MB / 1.234 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1739/0.8794, allocations: 150.7 MB / 1.381 GB, free: 8.293 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009546/0.8804, allocations: 23.88 kB / 1.381 GB, free: 8.27 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007301/0.8812, allocations: 202.1 kB / 1.381 GB, free: 8.07 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.8833, allocations: 0.5651 MB / 1.382 GB, free: 7.504 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.8855, allocations: 0.8423 MB / 1.382 GB, free: 6.668 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002091/0.8876, allocations: 1.455 MB / 1.384 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.8887, allocations: 0.619 MB / 1.384 GB, free: 4.559 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008378/0.8895, allocations: 0.4905 MB / 1.385 GB, free: 4.066 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007542/0.8903, allocations: 0.5251 MB / 1.385 GB, free: 3.539 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/0.8905, allocations: 120 kB / 1.386 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.8916, allocations: 495.6 kB / 1.386 GB, free: 2.938 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.8919, allocations: 303 kB / 1.386 GB, free: 2.641 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007213/0.8927, allocations: 0.5985 MB / 1.387 GB, free: 2.039 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.8952, allocations: 1.693 MB / 1.389 GB, free: 348 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8953, allocations: 0 / 1.389 GB, free: 348 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8953, allocations: 0 / 1.389 GB, free: 348 kB / 1.092 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.8953, allocations: 0 / 1.389 GB, free: 348 kB / 1.092 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.003216/0.8985, allocations: 1.53 MB / 1.39 GB, free: 14.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.8986, allocations: 16.03 kB / 1.39 GB, free: 14.74 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.8988, allocations: 139.7 kB / 1.39 GB, free: 14.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.8998, allocations: 192 kB / 1.39 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.9014, allocations: 0.794 MB / 1.391 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.9015, allocations: 70 kB / 1.391 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.9016, allocations: 88 kB / 1.391 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.9035, allocations: 0.9535 MB / 1.392 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.9035, allocations: 3.938 kB / 1.392 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/0.9036, allocations: 39.94 kB / 1.392 GB, free: 12.38 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.9036, allocations: 20 kB / 1.392 GB, free: 12.36 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.9056, allocations: 1.139 MB / 1.393 GB, free: 11.22 MB / 1.107 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.004719/0.9104, allocations: 2.788 MB / 1.396 GB, free: 8.316 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.9121, allocations: 0.8474 MB / 1.397 GB, free: 7.457 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/0.9127, allocations: 326.2 kB / 1.397 GB, free: 7.137 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.194e-05/0.9128, allocations: 34.73 kB / 1.397 GB, free: 7.105 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009411/0.9137, allocations: 0.5042 MB / 1.398 GB, free: 6.586 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.9137, allocations: 0 / 1.398 GB, free: 6.586 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003447/0.9172, allocations: 1.251 MB / 1.399 GB, free: 5.309 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.9173, allocations: 188.9 kB / 1.399 GB, free: 5.082 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/0.9183, allocations: 0.649 MB / 1.4 GB, free: 4.422 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.11e-05/0.9184, allocations: 45.7 kB / 1.4 GB, free: 4.371 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.9188, allocations: 421 kB / 1.4 GB, free: 3.953 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.9191, allocations: 293.5 kB / 1.401 GB, free: 3.664 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.9193, allocations: 154.6 kB / 1.401 GB, free: 3.508 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.9195, allocations: 386.8 kB / 1.401 GB, free: 3.121 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.9201, allocations: 261.9 kB / 1.401 GB, free: 2.863 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.9208, allocations: 374.5 kB / 1.402 GB, free: 2.473 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.9219, allocations: 0.6047 MB / 1.402 GB, free: 1.859 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9219, allocations: 0 / 1.402 GB, free: 1.859 MB / 1.107 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002019/0.9239, allocations: 0.8336 MB / 1.403 GB, free: 1.012 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.924, allocations: 8 kB / 1.403 GB, free: 1.004 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.924, allocations: 0 / 1.403 GB, free: 1.004 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/0.9246, allocations: 84.86 kB / 1.403 GB, free: 0.918 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/0.9253, allocations: 167.8 kB / 1.403 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.9276, allocations: 1.63 MB / 1.405 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/0.9284, allocations: 97.28 kB / 1.405 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.9285, allocations: 35.97 kB / 1.405 GB, free: 14.85 MB / 1.123 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.0005415/0.929, allocations: 269.6 kB / 1.405 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.9292, allocations: 91.38 kB / 1.405 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/0.9317, allocations: 1.101 MB / 1.407 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.9317, allocations: 12 kB / 1.407 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.9317, allocations: 0 / 1.407 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.9317, allocations: 7.984 kB / 1.407 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.933, allocations: 0.9349 MB / 1.407 GB, free: 12.37 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.933, allocations: 7.875 kB / 1.407 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006676/0.9337, allocations: 155.8 kB / 1.408 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.9342, allocations: 76.78 kB / 1.408 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.889e-05/0.9343, allocations: 23.98 kB / 1.408 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.9363, allocations: 1.662 MB / 1.409 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9363, allocations: 0 / 1.409 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.9392, allocations: 1.371 MB / 1.411 GB, free: 8.906 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.9397, allocations: 284.2 kB / 1.411 GB, free: 8.609 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.9398, allocations: 20 kB / 1.411 GB, free: 8.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/0.9404, allocations: 71.98 kB / 1.411 GB, free: 8.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.9406, allocations: 64.91 kB / 1.411 GB, free: 8.457 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.9407, allocations: 39.97 kB / 1.411 GB, free: 8.418 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006471/0.9414, allocations: 471 kB / 1.412 GB, free: 7.961 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9414, allocations: 0 / 1.412 GB, free: 7.961 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008691/0.9422, allocations: 339.1 kB / 1.412 GB, free: 7.629 MB / 1.123 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.004934/0.9472, allocations: 2.434 MB / 1.414 GB, free: 5.355 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.949, allocations: 0.8158 MB / 1.415 GB, free: 4.527 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.949, allocations: 4 kB / 1.415 GB, free: 4.523 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.95, allocations: 0.5353 MB / 1.416 GB, free: 3.977 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.9515, allocations: 313.1 kB / 1.416 GB, free: 3.695 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.9632, allocations: 6.548 MB / 1.422 GB, free: 12.99 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007252/0.9639, allocations: 1.039 MB / 1.423 GB, free: 11.92 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000922/0.9649, allocations: 263 kB / 1.424 GB, free: 11.66 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/0.9655, allocations: 407.3 kB / 1.424 GB, free: 11.26 MB / 1.139 GB Notification: Performance of SimCode: time 1.262e-06/0.9655, allocations: 0 / 1.424 GB, free: 11.26 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/1.027, allocations: 22.27 MB / 1.446 GB, free: 5.289 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.88, allocations: 9.906 kB / 1.446 GB, free: 5.281 MB / 1.154 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.712847269140184] Failed to read output from testmodel.py, exit status != 0: 15.084779476048425 15.10776962 14.208279793 Calling exit ...