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.0008427/0.0008427, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008741/0.0008741, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9898/0.9898, allocations: 230.6 MB / 256 MB, free: 9.629 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.7717/0.7717, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.001331/0.001331, allocations: 61.25 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7356, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005806/0.7414, allocations: 5.228 MB / 0.823 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.163/0.9043, allocations: 154.2 MB / 0.9735 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.9055, allocations: 23.81 kB / 0.9735 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.9062, allocations: 210.1 kB / 0.9737 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.9086, allocations: 0.584 MB / 0.9743 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.9107, allocations: 0.8744 MB / 0.9752 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.9124, allocations: 1.451 MB / 0.9766 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006971/0.9131, allocations: 426.2 kB / 0.977 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007562/0.9139, allocations: 0.5177 MB / 0.9775 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.9145, allocations: 0.5212 MB / 0.978 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.9147, allocations: 124 kB / 0.9781 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.9158, allocations: 0.5113 MB / 0.9786 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.9161, allocations: 315 kB / 0.9789 GB, free: 496 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.9165, allocations: 0.5792 MB / 0.9795 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.9188, allocations: 1.722 MB / 0.9812 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.9188, allocations: 0 / 0.9812 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9188, allocations: 0 / 0.9812 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.108e-05/0.9188, allocations: 0 / 0.9812 GB, free: 14.18 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002171/0.921, allocations: 1.451 MB / 0.9826 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.921, allocations: 12.03 kB / 0.9826 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.9211, allocations: 139.6 kB / 0.9827 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/0.922, allocations: 239.9 kB / 0.9829 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.9231, allocations: 0.7413 MB / 0.9837 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.9231, allocations: 66 kB / 0.9837 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.9232, allocations: 80 kB / 0.9838 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.9244, allocations: 0.9418 MB / 0.9847 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.9244, allocations: 0 / 0.9847 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.9244, allocations: 36 kB / 0.9848 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.9244, allocations: 20 kB / 0.9848 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.9257, allocations: 1.12 MB / 0.9859 GB, free: 9.227 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.003282/0.929, allocations: 2.78 MB / 0.9886 GB, free: 6.316 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.93, allocations: 0.761 MB / 0.9893 GB, free: 5.551 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.9304, allocations: 282.7 kB / 0.9896 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.504e-05/0.9304, allocations: 32.61 kB / 0.9896 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006234/0.9311, allocations: 0.4893 MB / 0.9901 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=82): time 3.286e-06/0.9311, allocations: 4 kB / 0.9901 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82): time 0.002012/0.9331, allocations: 1.138 MB / 0.9912 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/0.9332, allocations: 196.5 kB / 0.9914 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.9339, allocations: 0.6607 MB / 0.9921 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.9339, allocations: 49.69 kB / 0.9921 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.9342, allocations: 417 kB / 0.9925 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.9344, allocations: 285.5 kB / 0.9928 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.9345, allocations: 146.6 kB / 0.9929 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.9347, allocations: 394.7 kB / 0.9933 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.935, allocations: 245.9 kB / 0.9935 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.9354, allocations: 362.5 kB / 0.9939 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.9361, allocations: 0.5916 MB / 0.9945 GB, free: 160 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.9361, allocations: 0 / 0.9945 GB, free: 160 kB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001389/0.9375, allocations: 0.8256 MB / 0.9953 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.9375, allocations: 4 kB / 0.9953 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.9375, allocations: 4 kB / 0.9953 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/0.9379, allocations: 80.88 kB / 0.9953 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.9382, allocations: 155.8 kB / 0.9955 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.9397, allocations: 1.533 MB / 0.997 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.9402, allocations: 103.5 kB / 0.9971 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.9402, allocations: 27.98 kB / 0.9971 GB, free: 13.3 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 (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.000431/0.9407, allocations: 261.6 kB / 0.9974 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.9408, allocations: 99.42 kB / 0.9975 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.9423, allocations: 1.074 MB / 0.9985 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.9423, allocations: 8 kB / 0.9985 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.9423, allocations: 3.938 kB / 0.9985 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.9423, allocations: 7.984 kB / 0.9985 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.9432, allocations: 0.8911 MB / 0.9994 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.9432, allocations: 0 / 0.9994 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.9435, allocations: 159.8 kB / 0.9995 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.9437, allocations: 72.73 kB / 0.9996 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.9438, allocations: 31.95 kB / 0.9996 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.945, allocations: 1.539 MB / 1.001 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.945, allocations: 11.98 kB / 1.001 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.947, allocations: 1.336 MB / 1.002 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.9473, allocations: 203.1 kB / 1.003 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.9474, allocations: 23.92 kB / 1.003 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.9478, allocations: 60 kB / 1.003 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.9479, allocations: 84.86 kB / 1.003 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.9479, allocations: 35.97 kB / 1.003 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004921/0.9484, allocations: 487 kB / 1.003 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9484, allocations: 0 / 1.003 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007362/0.9492, allocations: 335.1 kB / 1.004 GB, free: 6.406 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 (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.003329/0.9525, allocations: 2.398 MB / 1.006 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.9538, allocations: 0.7728 MB / 1.007 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9538, allocations: 8 kB / 1.007 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.9543, allocations: 0.4963 MB / 1.007 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008416/0.9552, allocations: 296.5 kB / 1.008 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/0.963, allocations: 6.468 MB / 1.014 GB, free: 12 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.9637, allocations: 1.035 MB / 1.015 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007739/0.9644, allocations: 270.8 kB / 1.015 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.9649, allocations: 403.3 kB / 1.015 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of SimCode: time 1.513e-06/0.9649, allocations: 0 / 1.015 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/1.01, allocations: 22.89 MB / 1.038 GB, free: 3.555 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.481/10.49, allocations: 5.781 kB / 1.038 GB, free: 3.551 MB / 0.8073 GB " [Timeout remaining time 649] (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.885559644084424] Failed to read output from testmodel.py, exit status != 0: 10.64197891112417 10.654329298 9.73341774 Calling exit ...