Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0009249/0.0009249, 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.001386/0.001386, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.035/1.035, allocations: 230.6 MB / 256 MB, free: 9.617 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.8433/0.8433, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.SimpleHouse1,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.001269/0.001269, allocations: 63 kB / 0.7181 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6286, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005741/0.6343, allocations: 4.671 MB / 0.8223 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1596/0.794, allocations: 132.7 MB / 0.952 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.7955, allocations: 23.81 kB / 0.952 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008249/0.7963, allocations: 206.1 kB / 0.9522 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.7986, allocations: 0.5779 MB / 0.9527 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.801, allocations: 0.8626 MB / 0.9536 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.8028, allocations: 1.447 MB / 0.955 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007655/0.8035, allocations: 402.3 kB / 0.9554 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.8044, allocations: 0.5217 MB / 0.9559 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/0.805, allocations: 481.7 kB / 0.9564 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.8052, allocations: 120 kB / 0.9565 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.8064, allocations: 499.6 kB / 0.9569 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.8066, allocations: 311 kB / 0.9572 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.807, allocations: 477.7 kB / 0.9577 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.8092, allocations: 1.726 MB / 0.9594 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8092, allocations: 0 / 0.9594 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8092, allocations: 0 / 0.9594 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.8092, allocations: 0 / 0.9594 GB, free: 4.18 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002091/0.8113, allocations: 1.459 MB / 0.9608 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.8114, allocations: 12.03 kB / 0.9608 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.8115, allocations: 131.6 kB / 0.9609 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009367/0.8124, allocations: 240 kB / 0.9612 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.8135, allocations: 0.7335 MB / 0.9619 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.8135, allocations: 66 kB / 0.962 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.8136, allocations: 84 kB / 0.962 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.8149, allocations: 1.193 MB / 0.9632 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.8149, allocations: 0 / 0.9632 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.815, allocations: 36 kB / 0.9632 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.815, allocations: 24 kB / 0.9633 GB, free: 44 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.8162, allocations: 1.077 MB / 0.9643 GB, free: 14.96 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.003133/0.8193, allocations: 2.255 MB / 0.9665 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.8204, allocations: 0.7701 MB / 0.9673 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.8207, allocations: 278.7 kB / 0.9675 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.431e-05/0.8208, allocations: 20.64 kB / 0.9675 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006769/0.8215, allocations: 0.5936 MB / 0.9681 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.965e-06/0.8215, allocations: 4 kB / 0.9681 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.002082/0.8235, allocations: 1.142 MB / 0.9692 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.8236, allocations: 192.6 kB / 0.9694 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.8243, allocations: 0.6607 MB / 0.9701 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.8244, allocations: 41.7 kB / 0.9701 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.8246, allocations: 425 kB / 0.9705 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.8248, allocations: 285.5 kB / 0.9708 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.825, allocations: 154.6 kB / 0.9709 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8251, allocations: 386.8 kB / 0.9713 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.8255, allocations: 249.9 kB / 0.9715 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.8259, allocations: 491.1 kB / 0.972 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.8269, allocations: 0.5916 MB / 0.9726 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.8269, allocations: 64 / 0.9726 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00126/0.8282, allocations: 0.8218 MB / 0.9734 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.8282, allocations: 8 kB / 0.9734 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.8282, allocations: 0 / 0.9734 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/0.8286, allocations: 84.86 kB / 0.9735 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.829, allocations: 155.8 kB / 0.9736 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.8307, allocations: 1.519 MB / 0.9751 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.8312, allocations: 97.55 kB / 0.9752 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.8312, allocations: 35.92 kB / 0.9752 GB, free: 3.355 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 (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.0005113/0.8317, allocations: 277.5 kB / 0.9755 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.8319, allocations: 91.5 kB / 0.9756 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.8334, allocations: 1.066 MB / 0.9766 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.8334, allocations: 12 kB / 0.9766 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8334, allocations: 4 kB / 0.9767 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.8334, allocations: 3.984 kB / 0.9767 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/0.8342, allocations: 0.7741 MB / 0.9774 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.8342, allocations: 4 kB / 0.9774 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.8346, allocations: 151.8 kB / 0.9776 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.8349, allocations: 76.72 kB / 0.9776 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.835, allocations: 31.97 kB / 0.9777 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.8363, allocations: 1.531 MB / 0.9792 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8363, allocations: 0 / 0.9792 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.8383, allocations: 1.344 MB / 0.9805 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.8387, allocations: 211.1 kB / 0.9807 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.367e-05/0.8388, allocations: 23.92 kB / 0.9807 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.8391, allocations: 64 kB / 0.9808 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.8393, allocations: 76.86 kB / 0.9808 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.8393, allocations: 31.97 kB / 0.9809 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005216/0.8399, allocations: 491 kB / 0.9813 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.8399, allocations: 0 / 0.9813 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000784/0.8406, allocations: 331.1 kB / 0.9816 GB, free: 12.59 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 (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.003355/0.844, allocations: 2.424 MB / 0.984 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.8454, allocations: 0.7766 MB / 0.9848 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8454, allocations: 0 / 0.9848 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005805/0.846, allocations: 0.5002 MB / 0.9853 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.8468, allocations: 303.2 kB / 0.9855 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/0.8551, allocations: 6.46 MB / 0.9919 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.8555, allocations: 456.6 kB / 0.9923 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006803/0.8562, allocations: 262.8 kB / 0.9925 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.8566, allocations: 407.3 kB / 0.9929 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of SimCode: time 2.535e-06/0.8566, allocations: 0 / 0.9929 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0516/0.9082, allocations: 23.88 MB / 1.016 GB, free: 9.395 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.93/9.838, allocations: 7.922 kB / 1.016 GB, free: 9.387 MB / 0.7917 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.253815576899797] Failed to read output from testmodel.py, exit status != 0: 9.989063879009336 10.003039732 9.19160592 Calling exit ...