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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.042/1.042, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.802/0.802, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009127/0.0009127, allocations: 71.97 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.625, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006073/0.6311, allocations: 4.762 MB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.7949, allocations: 132.7 MB / 0.9521 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.796, allocations: 23.81 kB / 0.9521 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006667/0.7966, allocations: 210.1 kB / 0.9523 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.7986, allocations: 0.5856 MB / 0.9529 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.8007, allocations: 0.8757 MB / 0.9537 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.8023, allocations: 1.467 MB / 0.9552 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006661/0.8029, allocations: 422.7 kB / 0.9556 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005857/0.8035, allocations: 0.5217 MB / 0.9561 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.804, allocations: 497.6 kB / 0.9565 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.8042, allocations: 127.9 kB / 0.9567 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008884/0.8051, allocations: 491.6 kB / 0.9571 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.8053, allocations: 315 kB / 0.9574 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.8057, allocations: 489.6 kB / 0.9579 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.8074, allocations: 1.765 MB / 0.9596 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.8074, allocations: 0 / 0.9596 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.667e-06/0.8074, allocations: 4 kB / 0.9596 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.676e-05/0.8074, allocations: 0 / 0.9596 GB, free: 3.949 MB / 0.7292 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.002374/0.8098, allocations: 1.466 MB / 0.9611 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.8098, allocations: 12.03 kB / 0.9611 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.81, allocations: 139.7 kB / 0.9612 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009312/0.8109, allocations: 240 kB / 0.9614 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.812, allocations: 0.7374 MB / 0.9622 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.812, allocations: 66 kB / 0.9622 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.8121, allocations: 88 kB / 0.9623 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.8134, allocations: 1.212 MB / 0.9635 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.8134, allocations: 3.938 kB / 0.9635 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.8135, allocations: 36 kB / 0.9635 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.8135, allocations: 24 kB / 0.9635 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.8148, allocations: 1.089 MB / 0.9646 GB, free: 14.67 MB / 0.7448 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.002865/0.8176, allocations: 2.306 MB / 0.9669 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.8187, allocations: 0.7946 MB / 0.9676 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.8193, allocations: 294.7 kB / 0.9679 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.369e-05/0.8194, allocations: 26.7 kB / 0.9679 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006951/0.8201, allocations: 0.6007 MB / 0.9685 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 2.013e-06/0.8201, allocations: 0 / 0.9685 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.001992/0.8221, allocations: 1.184 MB / 0.9697 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.8222, allocations: 196.9 kB / 0.9699 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005922/0.8228, allocations: 0.6686 MB / 0.9705 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.8228, allocations: 45.7 kB / 0.9706 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.8231, allocations: 437 kB / 0.971 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.8233, allocations: 285.6 kB / 0.9713 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.8234, allocations: 154.6 kB / 0.9714 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8236, allocations: 390.7 kB / 0.9718 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.8239, allocations: 257.9 kB / 0.972 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.8244, allocations: 0.4912 MB / 0.9725 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.8251, allocations: 0.6086 MB / 0.9731 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8251, allocations: 0 / 0.9731 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001268/0.8264, allocations: 0.8452 MB / 0.9739 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/0.8264, allocations: 4 kB / 0.9739 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.8264, allocations: 0 / 0.9739 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.8268, allocations: 84.86 kB / 0.974 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.8272, allocations: 163.7 kB / 0.9742 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.8291, allocations: 1.529 MB / 0.9757 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.8295, allocations: 89.59 kB / 0.9757 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.8295, allocations: 31.92 kB / 0.9758 GB, free: 2.824 MB / 0.7448 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.0003042/0.8298, allocations: 277.7 kB / 0.976 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.8299, allocations: 103.3 kB / 0.9761 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.8315, allocations: 1.098 MB / 0.9772 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.8315, allocations: 8 kB / 0.9772 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8315, allocations: 0 / 0.9772 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.8315, allocations: 11.97 kB / 0.9772 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008142/0.8323, allocations: 0.7703 MB / 0.978 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8323, allocations: 7.875 kB / 0.978 GB, free: 500 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.8327, allocations: 167.8 kB / 0.9782 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.8329, allocations: 68.78 kB / 0.9782 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.833, allocations: 23.98 kB / 0.9782 GB, free: 236 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.8341, allocations: 1.543 MB / 0.9797 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.8341, allocations: 11.98 kB / 0.9798 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.8359, allocations: 1.379 MB / 0.9811 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.8361, allocations: 207.1 kB / 0.9813 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.8362, allocations: 20 kB / 0.9813 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.8365, allocations: 67.92 kB / 0.9814 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.8366, allocations: 72.86 kB / 0.9815 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.8367, allocations: 39.97 kB / 0.9815 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000636/0.8373, allocations: 491 kB / 0.982 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.8373, allocations: 4.062 kB / 0.982 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000707/0.838, allocations: 335.1 kB / 0.9823 GB, free: 11.95 MB / 0.7605 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.002972/0.841, allocations: 2.456 MB / 0.9847 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.8421, allocations: 0.7924 MB / 0.9855 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8421, allocations: 0 / 0.9855 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.8426, allocations: 0.504 MB / 0.986 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007409/0.8434, allocations: 314.7 kB / 0.9863 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/0.8506, allocations: 6.618 MB / 0.9927 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.8509, allocations: 465.6 kB / 0.9932 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005184/0.8515, allocations: 267 kB / 0.9934 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.8518, allocations: 415.3 kB / 0.9938 GB, free: 188 kB / 0.7605 GB Notification: Performance of SimCode: time 1.182e-06/0.8518, allocations: 4 kB / 0.9938 GB, free: 184 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04352/0.8954, allocations: 24.23 MB / 1.017 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/9.34, allocations: 2.5 kB / 1.017 GB, free: 8.172 MB / 0.7917 GB " [Timeout remaining time 651] (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: 12.734794036019593] Failed to read output from testmodel.py, exit status != 0: 9.489870258141309 9.498492437 8.689243543 Calling exit ...