Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.0008183/0.0008183, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008232/0.0008232, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9947/0.9947, allocations: 230.6 MB / 256 MB, free: 9.625 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.8371/0.8371, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.SimpleHouse3,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.000944/0.000944, allocations: 65.61 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6459, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1621/0.8079, allocations: 146.3 MB / 0.9607 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.8185, allocations: 7.517 MB / 0.968 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.82, allocations: 43.69 kB / 0.9681 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.8212, allocations: 401 kB / 0.9685 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.8242, allocations: 1.387 MB / 0.9698 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.8267, allocations: 1.199 MB / 0.971 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.8291, allocations: 2.406 MB / 0.9733 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.8303, allocations: 0.9587 MB / 0.9743 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009474/0.8313, allocations: 0.8875 MB / 0.9751 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.8323, allocations: 0.7526 MB / 0.9759 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.8324, allocations: 152 kB / 0.976 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.8342, allocations: 1.029 MB / 0.977 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.8345, allocations: 438.6 kB / 0.9775 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004816/0.835, allocations: 0.6454 MB / 0.9781 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.8373, allocations: 2.456 MB / 0.9805 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8373, allocations: 0 / 0.9805 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8373, allocations: 0 / 0.9805 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.244e-05/0.8373, allocations: 0 / 0.9805 GB, free: 14.57 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002471/0.8398, allocations: 1.887 MB / 0.9823 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.8398, allocations: 12.03 kB / 0.9823 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.84, allocations: 172.9 kB / 0.9825 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.8414, allocations: 382.6 kB / 0.9829 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.8426, allocations: 0.9512 MB / 0.9838 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.8426, allocations: 82.2 kB / 0.9839 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.8427, allocations: 112 kB / 0.984 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.8442, allocations: 1.531 MB / 0.9855 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.8442, allocations: 0 / 0.9855 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.8443, allocations: 51.98 kB / 0.9855 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.8443, allocations: 42.06 kB / 0.9856 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.8458, allocations: 1.257 MB / 0.9868 GB, free: 7.852 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.003253/0.849, allocations: 2.904 MB / 0.9896 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.8502, allocations: 0.9355 MB / 0.9905 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.8506, allocations: 375.6 kB / 0.9909 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/0.8507, allocations: 24.98 kB / 0.9909 GB, free: 3.543 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007254/0.8514, allocations: 0.796 MB / 0.9917 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=102): time 2.165e-06/0.8514, allocations: 3.938 kB / 0.9917 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of matching and sorting (n=102): time 0.002313/0.8537, allocations: 1.367 MB / 0.993 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.8538, allocations: 192.9 kB / 0.9932 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.8545, allocations: 0.8664 MB / 0.9941 GB, free: 184 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.8546, allocations: 45.7 kB / 0.9941 GB, free: 132 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.8549, allocations: 0.544 MB / 0.9946 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.8551, allocations: 349.1 kB / 0.995 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.8552, allocations: 186.6 kB / 0.9952 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.8553, allocations: 345.9 kB / 0.9955 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.8557, allocations: 309.8 kB / 0.9958 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.8562, allocations: 0.5939 MB / 0.9964 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.8571, allocations: 0.7737 MB / 0.9971 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.8571, allocations: 0 / 0.9971 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001389/0.8585, allocations: 1.036 MB / 0.9981 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.8585, allocations: 8 kB / 0.9981 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.8585, allocations: 4.156 kB / 0.9981 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.8589, allocations: 84.77 kB / 0.9982 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.8594, allocations: 207.7 kB / 0.9984 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.8608, allocations: 1.537 MB / 0.9999 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.8614, allocations: 103.4 kB / 1 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.8614, allocations: 40.16 kB / 1 GB, free: 9.777 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0003632/0.8618, allocations: 329.6 kB / 1 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.8619, allocations: 119.2 kB / 1 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.8636, allocations: 1.24 MB / 1.002 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8636, allocations: 19.94 kB / 1.002 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8636, allocations: 0 / 1.002 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.8636, allocations: 7.984 kB / 1.002 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/0.8646, allocations: 0.9739 MB / 1.003 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.8646, allocations: 0 / 1.003 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.865, allocations: 203.8 kB / 1.003 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.8652, allocations: 80.72 kB / 1.003 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.8653, allocations: 31.97 kB / 1.003 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/0.8664, allocations: 1.551 MB / 1.004 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8664, allocations: 0 / 1.004 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.8683, allocations: 1.579 MB / 1.006 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.8687, allocations: 254.8 kB / 1.006 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.743e-05/0.8687, allocations: 24 kB / 1.006 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.8691, allocations: 74.58 kB / 1.006 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.8693, allocations: 88.83 kB / 1.006 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.8693, allocations: 39.98 kB / 1.006 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006604/0.87, allocations: 0.5983 MB / 1.007 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.87, allocations: 0 / 1.007 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000845/0.8708, allocations: 431 kB / 1.007 GB, free: 1.949 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.003184/0.874, allocations: 2.689 MB / 1.01 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.8752, allocations: 0.9253 MB / 1.011 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.8752, allocations: 4 kB / 1.011 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006194/0.8759, allocations: 0.5665 MB / 1.012 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.877, allocations: 491.6 kB / 1.012 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009012/0.886, allocations: 8.329 MB / 1.02 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.8864, allocations: 0.5715 MB / 1.021 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007244/0.8871, allocations: 321.4 kB / 1.021 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/0.8879, allocations: 0.5188 MB / 1.022 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of SimCode: time 1.382e-06/0.8879, allocations: 0 / 1.022 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/0.937, allocations: 32.28 MB / 1.053 GB, free: 3.57 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.266/10.2, allocations: 2.188 kB / 1.053 GB, free: 3.57 MB / 0.823 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.461479522753507] Failed to read output from testmodel.py, exit status != 0: 10.356411220971495 10.365167743 9.525997326 Calling exit ...