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.0008435/0.0008435, allocations: 101.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.0008792/0.0008792, allocations: 209.7 kB / 22.24 MB, free: 3.57 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/1, allocations: 230.6 MB / 256 MB, free: 9.602 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.8377/0.8377, 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.0009235/0.0009235, allocations: 69.12 kB / 0.7181 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6527, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006106/0.6588, allocations: 4.663 MB / 0.8223 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.8085, allocations: 132.7 MB / 0.952 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009209/0.8095, allocations: 23.81 kB / 0.952 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.81, allocations: 206.1 kB / 0.9522 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.812, allocations: 0.5907 MB / 0.9527 GB, free: 11 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.8141, allocations: 0.8638 MB / 0.9536 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.8157, allocations: 1.443 MB / 0.955 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006887/0.8164, allocations: 398.2 kB / 0.9554 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.8172, allocations: 0.5177 MB / 0.9559 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005871/0.8177, allocations: 477.7 kB / 0.9563 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.8179, allocations: 120 kB / 0.9565 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000961/0.8189, allocations: 0.4917 MB / 0.9569 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.8191, allocations: 319 kB / 0.9572 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.8195, allocations: 481.7 kB / 0.9577 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.8219, allocations: 1.726 MB / 0.9594 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8219, allocations: 0 / 0.9594 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8219, allocations: 0 / 0.9594 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.736e-05/0.822, allocations: 0 / 0.9594 GB, free: 4.168 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.002264/0.8242, allocations: 1.451 MB / 0.9608 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8243, allocations: 8.031 kB / 0.9608 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.8244, allocations: 139.6 kB / 0.9609 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.8253, allocations: 232 kB / 0.9612 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009942/0.8263, allocations: 0.7374 MB / 0.9619 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.8263, allocations: 69.98 kB / 0.962 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.8264, allocations: 84 kB / 0.962 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.8276, allocations: 1.189 MB / 0.9632 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.8276, allocations: 0 / 0.9632 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.8277, allocations: 39.98 kB / 0.9632 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.8277, allocations: 24 kB / 0.9633 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.8289, allocations: 1.073 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.003109/0.832, allocations: 2.259 MB / 0.9665 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.833, allocations: 0.7583 MB / 0.9673 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.8334, allocations: 282.7 kB / 0.9675 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.775e-05/0.8334, allocations: 28.62 kB / 0.9675 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006591/0.8341, allocations: 0.5858 MB / 0.9681 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.915e-06/0.8341, allocations: 0 / 0.9681 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.002017/0.8361, allocations: 1.146 MB / 0.9692 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.8362, allocations: 192.6 kB / 0.9694 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.8369, allocations: 0.6646 MB / 0.9701 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.727e-05/0.8369, allocations: 41.7 kB / 0.9701 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.8373, allocations: 421 kB / 0.9705 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.8375, allocations: 293.5 kB / 0.9708 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.8376, allocations: 146.6 kB / 0.9709 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.8378, allocations: 386.7 kB / 0.9713 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.8381, allocations: 249.9 kB / 0.9715 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.8386, allocations: 495 kB / 0.972 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.8396, allocations: 0.5916 MB / 0.9726 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.8396, allocations: 3.938 kB / 0.9726 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001283/0.8409, allocations: 0.8179 MB / 0.9734 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.8409, allocations: 8 kB / 0.9734 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.841, allocations: 0 / 0.9734 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003665/0.8413, allocations: 88.8 kB / 0.9735 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.8417, allocations: 155.8 kB / 0.9736 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.8433, allocations: 1.514 MB / 0.9751 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.8438, allocations: 107.4 kB / 0.9752 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.8439, allocations: 31.98 kB / 0.9752 GB, free: 3.348 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.000482/0.8444, allocations: 261.6 kB / 0.9755 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.8445, allocations: 95.42 kB / 0.9756 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.846, allocations: 1.074 MB / 0.9766 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.846, allocations: 8 kB / 0.9766 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.846, allocations: 0 / 0.9766 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.846, allocations: 7.984 kB / 0.9766 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000865/0.8469, allocations: 0.7624 MB / 0.9774 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.8469, allocations: 4 kB / 0.9774 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.8472, allocations: 159.7 kB / 0.9775 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.8475, allocations: 68.73 kB / 0.9776 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.8475, allocations: 27.97 kB / 0.9776 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.8488, allocations: 1.543 MB / 0.9791 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.8488, allocations: 0 / 0.9791 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.8513, allocations: 1.348 MB / 0.9805 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.8517, allocations: 211.1 kB / 0.9807 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.8518, allocations: 19.94 kB / 0.9807 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.8522, allocations: 63.92 kB / 0.9807 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.8523, allocations: 72.86 kB / 0.9808 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.8524, allocations: 31.98 kB / 0.9808 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005239/0.8529, allocations: 491 kB / 0.9813 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.8529, allocations: 0 / 0.9813 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008575/0.8537, allocations: 339.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.003227/0.857, allocations: 2.428 MB / 0.984 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.8583, allocations: 0.7767 MB / 0.9848 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.8583, allocations: 4 kB / 0.9848 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.8589, allocations: 0.4923 MB / 0.9853 GB, free: 9.078 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.8597, allocations: 305.8 kB / 0.9855 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008417/0.8682, allocations: 6.464 MB / 0.9919 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.8685, allocations: 456.7 kB / 0.9923 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000646/0.8692, allocations: 262.9 kB / 0.9925 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.8696, allocations: 411.2 kB / 0.9929 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of SimCode: time 2.264e-06/0.8696, allocations: 4 kB / 0.9929 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.9114, allocations: 23.86 MB / 1.016 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.976/9.888, allocations: 10.8 kB / 1.016 GB, free: 9.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 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.258888734970242] Failed to read output from testmodel.py, exit status != 0: 10.03644479997456 10.047933151 9.223536608 Calling exit ...