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.000761/0.000761, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007924/0.0007924, allocations: 213.7 kB / 22.25 MB, free: 3.711 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 0.9976/0.9976, allocations: 230.6 MB / 256 MB, free: 9.812 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.8209/0.8209, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009884/0.0009884, allocations: 70.69 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6429/0.6439, allocations: 102 MB / 0.8179 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006349/0.6503, allocations: 5.336 MB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1698/0.8201, allocations: 154.2 MB / 0.9737 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.8213, allocations: 23.81 kB / 0.9737 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.8219, allocations: 210.1 kB / 0.9739 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.8237, allocations: 0.5799 MB / 0.9744 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.8257, allocations: 0.8976 MB / 0.9753 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.8268, allocations: 1.471 MB / 0.9768 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000633/0.8274, allocations: 434.8 kB / 0.9772 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006192/0.8281, allocations: 0.5255 MB / 0.9777 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.8286, allocations: 0.5406 MB / 0.9782 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.8287, allocations: 123.9 kB / 0.9783 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008144/0.8295, allocations: 0.5191 MB / 0.9788 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.8298, allocations: 319 kB / 0.9791 GB, free: 200 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.8302, allocations: 0.5908 MB / 0.9797 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.8319, allocations: 1.749 MB / 0.9814 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8319, allocations: 0 / 0.9814 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8319, allocations: 0 / 0.9814 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.848e-05/0.8319, allocations: 4 kB / 0.9814 GB, free: 13.84 MB / 0.7605 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.001776/0.8337, allocations: 1.47 MB / 0.9829 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.8338, allocations: 12.03 kB / 0.9829 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.8339, allocations: 143.7 kB / 0.983 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007338/0.8346, allocations: 236 kB / 0.9832 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.8356, allocations: 0.7374 MB / 0.984 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.8356, allocations: 69.98 kB / 0.984 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.38e-05/0.8357, allocations: 84 kB / 0.9841 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.8367, allocations: 0.9523 MB / 0.985 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.8367, allocations: 3.938 kB / 0.985 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.8368, allocations: 36 kB / 0.9851 GB, free: 10 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.8368, allocations: 24 kB / 0.9851 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.838, allocations: 1.136 MB / 0.9862 GB, free: 8.84 MB / 0.7605 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.002815/0.8408, allocations: 2.82 MB / 0.989 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.8419, allocations: 0.802 MB / 0.9897 GB, free: 5.074 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.8422, allocations: 297.3 kB / 0.99 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.8423, allocations: 30.75 kB / 0.9901 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005923/0.8428, allocations: 0.5081 MB / 0.9906 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 2.034e-06/0.8428, allocations: 0 / 0.9906 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.001847/0.8447, allocations: 1.18 MB / 0.9917 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.8448, allocations: 188.9 kB / 0.9919 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.8454, allocations: 0.6686 MB / 0.9925 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.8454, allocations: 45.7 kB / 0.9926 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.8457, allocations: 433 kB / 0.993 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.8458, allocations: 289.5 kB / 0.9933 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.846, allocations: 154.6 kB / 0.9934 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8461, allocations: 394.7 kB / 0.9938 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.8464, allocations: 253.9 kB / 0.994 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.8468, allocations: 378.5 kB / 0.9944 GB, free: 180 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.8476, allocations: 0.6085 MB / 0.995 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8476, allocations: 0 / 0.995 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001101/0.8487, allocations: 0.8336 MB / 0.9958 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.8488, allocations: 8.094 kB / 0.9958 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.8488, allocations: 4 kB / 0.9958 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/0.8491, allocations: 84.77 kB / 0.9959 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.8494, allocations: 163.7 kB / 0.9961 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.851, allocations: 1.531 MB / 0.9975 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.8513, allocations: 95.44 kB / 0.9976 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.8513, allocations: 27.98 kB / 0.9977 GB, free: 12.68 MB / 0.7761 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.0002886/0.8516, allocations: 273.6 kB / 0.9979 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.8517, allocations: 95.39 kB / 0.998 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.8531, allocations: 1.098 MB / 0.9991 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.8531, allocations: 16 kB / 0.9991 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.8531, allocations: 0 / 0.9991 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8531, allocations: 3.984 kB / 0.9991 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/0.8539, allocations: 0.9222 MB / 1 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.8539, allocations: 3.938 kB / 1 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.8542, allocations: 159.7 kB / 1 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.8544, allocations: 72.78 kB / 1 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.8545, allocations: 27.98 kB / 1 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.8557, allocations: 1.551 MB / 1.002 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8557, allocations: 0 / 1.002 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.8574, allocations: 1.371 MB / 1.003 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.8576, allocations: 211 kB / 1.003 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.8577, allocations: 23.98 kB / 1.003 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.858, allocations: 68.06 kB / 1.003 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.8581, allocations: 73 kB / 1.003 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.8581, allocations: 43.95 kB / 1.004 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003911/0.8585, allocations: 491 kB / 1.004 GB, free: 6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.8585, allocations: 0 / 1.004 GB, free: 6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006555/0.8592, allocations: 339.1 kB / 1.004 GB, free: 5.668 MB / 0.7761 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.002888/0.8621, allocations: 2.431 MB / 1.007 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.8631, allocations: 0.7924 MB / 1.007 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8631, allocations: 0 / 1.007 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.8637, allocations: 0.5002 MB / 1.008 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/0.8644, allocations: 303.9 kB / 1.008 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007091/0.8715, allocations: 6.627 MB / 1.015 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.8719, allocations: 1.047 MB / 1.016 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006504/0.8726, allocations: 263.1 kB / 1.016 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/0.873, allocations: 415.2 kB / 1.016 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of SimCode: time 8.22e-07/0.873, allocations: 4 kB / 1.016 GB, free: 9.301 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.9136, allocations: 23.24 MB / 1.039 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.616/10.53, allocations: 7.516 kB / 1.039 GB, free: 2.227 MB / 0.8073 GB " [Timeout remaining time 649] (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: 13.870971045922488] Failed to read output from testmodel.py, exit status != 0: 10.680111022898927 10.688688814 9.854723352 Calling exit ...