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.001873/0.001873, allocations: 114 kB / 17.6 MB, free: 4.699 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.002152/0.002152, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.392/1.392, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.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.606/2.606, allocations: 476.7 MB / 0.7629 GB, free: 15.12 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.002038/0.002038, allocations: 67.89 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.8199, allocations: 168.7 MB / 1.272 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006092/0.826, allocations: 5.304 MB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1744/1, allocations: 151.2 MB / 1.424 GB, free: 3.469 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/1.001, allocations: 16.28 kB / 1.424 GB, free: 3.465 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007574/1.002, allocations: 206.2 kB / 1.425 GB, free: 3.281 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002228/1.004, allocations: 0.5672 MB / 1.425 GB, free: 2.855 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/1.007, allocations: 0.8635 MB / 1.426 GB, free: 2.195 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001916/1.009, allocations: 1.462 MB / 1.427 GB, free: 1.281 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007363/1.009, allocations: 428.1 kB / 1.428 GB, free: 0.9688 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007114/1.01, allocations: 0.5121 MB / 1.428 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006371/1.011, allocations: 0.5194 MB / 1.429 GB, free: 296 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/1.011, allocations: 120.9 kB / 1.429 GB, free: 296 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009904/1.012, allocations: 495.9 kB / 1.429 GB, free: 104 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/1.012, allocations: 308.1 kB / 1.43 GB, free: 15.86 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005768/1.013, allocations: 0.5895 MB / 1.43 GB, free: 15.43 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/1.015, allocations: 1.689 MB / 1.432 GB, free: 14.21 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.015, allocations: 5.062 kB / 1.432 GB, free: 14.21 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.463e-06/1.015, allocations: 0 / 1.432 GB, free: 14.21 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.866e-05/1.015, allocations: 4 kB / 1.432 GB, free: 14.2 MB / 1.123 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.002678/1.017, allocations: 1.526 MB / 1.433 GB, free: 13 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/1.018, allocations: 13.62 kB / 1.433 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/1.018, allocations: 142.2 kB / 1.434 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009094/1.019, allocations: 195.4 kB / 1.434 GB, free: 12.79 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/1.02, allocations: 0.7961 MB / 1.435 GB, free: 12.14 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/1.02, allocations: 66.5 kB / 1.435 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.02, allocations: 89.06 kB / 1.435 GB, free: 12.07 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/1.022, allocations: 0.9566 MB / 1.436 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.022, allocations: 0 / 1.436 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/1.022, allocations: 37.62 kB / 1.436 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.022, allocations: 22 kB / 1.436 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/1.024, allocations: 1.137 MB / 1.437 GB, free: 10.89 MB / 1.123 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.00449/1.028, allocations: 2.8 MB / 1.44 GB, free: 8.391 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.03, allocations: 0.7967 MB / 1.44 GB, free: 7.586 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/1.03, allocations: 287.5 kB / 1.441 GB, free: 7.297 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.393e-05/1.03, allocations: 38.73 kB / 1.441 GB, free: 7.262 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008882/1.031, allocations: 0.508 MB / 1.441 GB, free: 6.738 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 5.451e-06/1.031, allocations: 3.984 kB / 1.441 GB, free: 6.734 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003388/1.035, allocations: 1.251 MB / 1.442 GB, free: 5.461 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.035, allocations: 188.9 kB / 1.443 GB, free: 5.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000916/1.036, allocations: 0.649 MB / 1.443 GB, free: 4.57 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.675e-05/1.036, allocations: 45.7 kB / 1.443 GB, free: 4.52 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/1.036, allocations: 429 kB / 1.444 GB, free: 4.094 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/1.036, allocations: 285.6 kB / 1.444 GB, free: 3.812 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/1.037, allocations: 154.6 kB / 1.444 GB, free: 3.656 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.037, allocations: 390.8 kB / 1.444 GB, free: 3.266 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/1.037, allocations: 253.9 kB / 1.445 GB, free: 3.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/1.038, allocations: 370.5 kB / 1.445 GB, free: 2.629 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.039, allocations: 0.6125 MB / 1.446 GB, free: 2.008 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.039, allocations: 0 / 1.446 GB, free: 2.008 MB / 1.123 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002022/1.041, allocations: 0.8374 MB / 1.446 GB, free: 1.156 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.041, allocations: 10.03 kB / 1.446 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.041, allocations: 0 / 1.446 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005845/1.042, allocations: 84.86 kB / 1.446 GB, free: 1.062 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/1.042, allocations: 159.8 kB / 1.447 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.045, allocations: 1.639 MB / 1.448 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/1.045, allocations: 89.92 kB / 1.448 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/1.045, allocations: 40.02 kB / 1.448 GB, free: 15 MB / 1.139 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.0004495/1.046, allocations: 281.8 kB / 1.449 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/1.046, allocations: 87.44 kB / 1.449 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.048, allocations: 1.093 MB / 1.45 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.048, allocations: 8 kB / 1.45 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/1.048, allocations: 3.938 kB / 1.45 GB, free: 13.51 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.049, allocations: 3.984 kB / 1.45 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/1.05, allocations: 0.931 MB / 1.451 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.05, allocations: 7.922 kB / 1.451 GB, free: 12.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/1.05, allocations: 151.8 kB / 1.451 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/1.051, allocations: 72.78 kB / 1.451 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/1.051, allocations: 23.98 kB / 1.451 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/1.053, allocations: 1.678 MB / 1.453 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.053, allocations: 0 / 1.453 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/1.056, allocations: 1.371 MB / 1.454 GB, free: 9.055 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/1.056, allocations: 284.2 kB / 1.454 GB, free: 8.758 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/1.056, allocations: 24.06 kB / 1.454 GB, free: 8.734 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006134/1.057, allocations: 59.94 kB / 1.454 GB, free: 8.676 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.057, allocations: 68.89 kB / 1.454 GB, free: 8.609 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.317e-05/1.057, allocations: 39.97 kB / 1.454 GB, free: 8.57 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006581/1.058, allocations: 475 kB / 1.455 GB, free: 8.109 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.058, allocations: 0 / 1.455 GB, free: 8.109 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008872/1.059, allocations: 339.1 kB / 1.455 GB, free: 7.777 MB / 1.139 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.005028/1.064, allocations: 2.415 MB / 1.458 GB, free: 5.52 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001827/1.065, allocations: 0.7999 MB / 1.458 GB, free: 4.703 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.065, allocations: 0 / 1.458 GB, free: 4.703 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/1.066, allocations: 0.5004 MB / 1.459 GB, free: 4.191 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.068, allocations: 310 kB / 1.459 GB, free: 3.918 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.079, allocations: 6.557 MB / 1.465 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/1.08, allocations: 1.035 MB / 1.467 GB, free: 12.14 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009048/1.081, allocations: 263 kB / 1.467 GB, free: 11.88 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/1.082, allocations: 415.2 kB / 1.467 GB, free: 11.47 MB / 1.154 GB Notification: Performance of SimCode: time 7.41e-07/1.082, allocations: 0 / 1.467 GB, free: 11.47 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/1.144, allocations: 22.44 MB / 1.489 GB, free: 5.254 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.29, allocations: 4.453 kB / 1.489 GB, free: 5.254 MB / 1.17 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 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: 21.038292807003018] Failed to read output from testmodel.py, exit status != 0: 15.492655473004561 15.519946618 14.50006931 Calling exit ...