Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.00137/0.00137, allocations: 114 kB / 18.14 MB, free: 3.781 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.001292/0.001292, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.589/1.589, allocations: 225.6 MB / 250.2 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.141/1.141, allocations: 175.8 MB / 481.1 MB, free: 7.688 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 65.09 kB / 0.6693 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8608/0.8627, allocations: 94.54 MB / 0.7616 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008971/0.8717, allocations: 5.291 MB / 0.7668 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2469/1.119, allocations: 151.2 MB / 0.9145 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/1.12, allocations: 23.88 kB / 0.9145 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/1.122, allocations: 206.1 kB / 0.9147 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003515/1.125, allocations: 0.5717 MB / 0.9152 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/1.128, allocations: 0.8695 MB / 0.9161 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002918/1.131, allocations: 1.448 MB / 0.9175 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/1.132, allocations: 439.5 kB / 0.9179 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/1.133, allocations: 0.4984 MB / 0.9184 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/1.134, allocations: 0.5251 MB / 0.9189 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/1.134, allocations: 120 kB / 0.919 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/1.136, allocations: 495.5 kB / 0.9195 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/1.136, allocations: 307 kB / 0.9198 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006929/1.137, allocations: 0.5908 MB / 0.9204 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/1.14, allocations: 1.695 MB / 0.922 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/1.14, allocations: 0 / 0.922 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of FrontEnd: time 5.56e-06/1.14, allocations: 4 kB / 0.922 GB, free: 1.91 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.843e-05/1.14, allocations: 0 / 0.922 GB, free: 1.91 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.003363/1.143, allocations: 1.534 MB / 0.9235 GB, free: 332 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/1.143, allocations: 8.031 kB / 0.9236 GB, free: 324 kB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002122/1.144, allocations: 143.7 kB / 0.9237 GB, free: 172 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.145, allocations: 208.8 kB / 0.9239 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.146, allocations: 0.7854 MB / 0.9247 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/1.146, allocations: 62 kB / 0.9247 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/1.146, allocations: 87.98 kB / 0.9248 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/1.148, allocations: 0.9574 MB / 0.9257 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.148, allocations: 0 / 0.9257 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/1.148, allocations: 40 kB / 0.9258 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/1.148, allocations: 20 kB / 0.9258 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/1.15, allocations: 1.139 MB / 0.9269 GB, free: 12.79 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.004901/1.155, allocations: 2.878 MB / 0.9297 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.157, allocations: 0.7985 MB / 0.9305 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/1.157, allocations: 299.6 kB / 0.9308 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.062e-05/1.158, allocations: 28.61 kB / 0.9308 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009701/1.159, allocations: 0.51 MB / 0.9313 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 2.364e-06/1.159, allocations: 0 / 0.9313 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.003448/1.162, allocations: 1.255 MB / 0.9325 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/1.162, allocations: 192.9 kB / 0.9327 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/1.163, allocations: 0.6489 MB / 0.9333 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/1.163, allocations: 45.69 kB / 0.9334 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/1.164, allocations: 421 kB / 0.9338 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/1.164, allocations: 293.5 kB / 0.9341 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/1.164, allocations: 150.6 kB / 0.9342 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002292/1.164, allocations: 390.7 kB / 0.9346 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/1.165, allocations: 257.9 kB / 0.9348 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/1.166, allocations: 370.5 kB / 0.9352 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.167, allocations: 0.6086 MB / 0.9358 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.167, allocations: 0 / 0.9358 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002039/1.169, allocations: 0.8453 MB / 0.9366 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.169, allocations: 4 kB / 0.9366 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.169, allocations: 0 / 0.9366 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/1.169, allocations: 80.84 kB / 0.9367 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/1.17, allocations: 167.7 kB / 0.9368 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/1.172, allocations: 1.63 MB / 0.9384 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/1.173, allocations: 91.45 kB / 0.9385 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/1.173, allocations: 31.98 kB / 0.9386 GB, free: 404 kB / 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.0005778/1.174, allocations: 278.5 kB / 0.9388 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/1.174, allocations: 91.42 kB / 0.9389 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/1.177, allocations: 1.089 MB / 0.94 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.177, allocations: 12 kB / 0.94 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.177, allocations: 0 / 0.94 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.177, allocations: 7.969 kB / 0.94 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/1.178, allocations: 0.9424 MB / 0.9409 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.178, allocations: 0 / 0.9409 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006486/1.178, allocations: 151.8 kB / 0.9411 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/1.179, allocations: 76.78 kB / 0.9411 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/1.179, allocations: 23.98 kB / 0.9412 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/1.181, allocations: 1.674 MB / 0.9428 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.181, allocations: 0 / 0.9428 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/1.184, allocations: 1.371 MB / 0.9441 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/1.184, allocations: 276.2 kB / 0.9444 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.185, allocations: 27.95 kB / 0.9444 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006027/1.185, allocations: 63.98 kB / 0.9445 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.185, allocations: 76.89 kB / 0.9446 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/1.185, allocations: 31.98 kB / 0.9446 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006673/1.186, allocations: 475 kB / 0.945 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.186, allocations: 0 / 0.945 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001005/1.187, allocations: 331.2 kB / 0.9454 GB, free: 9.18 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.005066/1.192, allocations: 2.437 MB / 0.9477 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00189/1.194, allocations: 0.7885 MB / 0.9485 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.194, allocations: 3.938 kB / 0.9485 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.195, allocations: 0.5119 MB / 0.949 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.196, allocations: 311 kB / 0.9493 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.208, allocations: 6.535 MB / 0.9557 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/1.209, allocations: 1.039 MB / 0.9567 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000936/1.21, allocations: 263 kB / 0.9569 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/1.21, allocations: 407.2 kB / 0.9573 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of SimCode: time 1.623e-06/1.21, allocations: 0 / 0.9573 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06683/1.277, allocations: 22.45 MB / 0.9793 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.42, allocations: 7.594 kB / 0.9793 GB, free: 6.645 MB / 0.7637 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.990139231085777] Failed to read output from testmodel.py, exit status != 0: 15.634953989647329 15.659509112 14.514865483 Calling exit ...