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.001203/0.001203, 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.001549/0.001549, 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 1.034/1.034, allocations: 230.6 MB / 256 MB, free: 9.781 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.8265/0.8265, allocations: 203.8 MB / 0.5042 GB, free: 10.66 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.0009694/0.0009694, allocations: 67.02 kB / 0.7182 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.639, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006153/0.6452, allocations: 5.334 MB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1634/0.8086, allocations: 154.2 MB / 0.9736 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.81, allocations: 23.81 kB / 0.9737 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.8107, allocations: 202.1 kB / 0.9739 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.8126, allocations: 0.589 MB / 0.9744 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.8148, allocations: 0.8925 MB / 0.9753 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.8161, allocations: 1.471 MB / 0.9767 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.8168, allocations: 438.8 kB / 0.9772 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006724/0.8175, allocations: 0.5256 MB / 0.9777 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005764/0.818, allocations: 0.539 MB / 0.9782 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.8182, allocations: 124 kB / 0.9783 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008722/0.819, allocations: 0.5152 MB / 0.9788 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.8193, allocations: 315 kB / 0.9791 GB, free: 252 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.8197, allocations: 0.5947 MB / 0.9797 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.8217, allocations: 1.757 MB / 0.9814 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.8217, allocations: 0 / 0.9814 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.497e-06/0.8217, allocations: 0 / 0.9814 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.8217, allocations: 0 / 0.9814 GB, free: 13.89 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.00195/0.8237, allocations: 1.474 MB / 0.9829 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.8237, allocations: 8.031 kB / 0.9829 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.8239, allocations: 143.7 kB / 0.983 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008004/0.8247, allocations: 232 kB / 0.9832 GB, free: 12 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.8256, allocations: 0.7452 MB / 0.984 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.8256, allocations: 69.98 kB / 0.984 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.242e-05/0.8257, allocations: 87.98 kB / 0.9841 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.8268, allocations: 0.9496 MB / 0.985 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.8269, allocations: 3.938 kB / 0.985 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.8269, allocations: 40 kB / 0.9851 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.8269, allocations: 24 kB / 0.9851 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.8282, allocations: 1.132 MB / 0.9862 GB, free: 8.875 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.003142/0.8313, allocations: 2.82 MB / 0.989 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.8323, allocations: 0.8038 MB / 0.9897 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.8327, allocations: 294.7 kB / 0.99 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.015e-05/0.8327, allocations: 30.75 kB / 0.9901 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.8333, allocations: 0.5119 MB / 0.9906 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 2.635e-06/0.8333, allocations: 0 / 0.9906 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.001833/0.8352, allocations: 1.184 MB / 0.9917 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.8352, allocations: 188.9 kB / 0.9919 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/0.8358, allocations: 0.6686 MB / 0.9925 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.8359, allocations: 41.7 kB / 0.9926 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.8361, allocations: 433 kB / 0.993 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.8363, allocations: 293.5 kB / 0.9933 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.8364, allocations: 150.6 kB / 0.9934 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8365, allocations: 398.7 kB / 0.9938 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/0.8369, allocations: 253.9 kB / 0.994 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.8374, allocations: 374.5 kB / 0.9944 GB, free: 212 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.8381, allocations: 0.6086 MB / 0.995 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8381, allocations: 0 / 0.995 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001074/0.8392, allocations: 0.8375 MB / 0.9958 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.8392, allocations: 4 kB / 0.9958 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.8392, allocations: 4.094 kB / 0.9958 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.8395, allocations: 76.77 kB / 0.9959 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.8399, allocations: 171.7 kB / 0.9961 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.8412, allocations: 1.531 MB / 0.9975 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.8415, allocations: 91.47 kB / 0.9976 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.8416, allocations: 31.92 kB / 0.9977 GB, free: 12.71 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.0002801/0.8418, allocations: 277.5 kB / 0.9979 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.8419, allocations: 91.39 kB / 0.998 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.8433, allocations: 1.094 MB / 0.9991 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.8433, allocations: 12 kB / 0.9991 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.8433, allocations: 8 kB / 0.9991 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-06/0.8433, allocations: 3.984 kB / 0.9991 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.844, allocations: 0.9183 MB / 1 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.844, allocations: 3.938 kB / 1 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.8444, allocations: 159.7 kB / 1 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.8446, allocations: 76.77 kB / 1 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.8446, allocations: 27.98 kB / 1 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.846, allocations: 1.555 MB / 1.002 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.846, allocations: 0 / 1.002 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.8476, allocations: 1.371 MB / 1.003 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.8478, allocations: 211 kB / 1.003 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.8479, allocations: 23.98 kB / 1.003 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.8482, allocations: 64 kB / 1.003 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.8483, allocations: 72.86 kB / 1.003 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.8483, allocations: 39.97 kB / 1.004 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003949/0.8487, allocations: 491 kB / 1.004 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.8487, allocations: 0 / 1.004 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006158/0.8494, allocations: 339.1 kB / 1.004 GB, free: 5.703 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.002947/0.8523, allocations: 2.429 MB / 1.007 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.8533, allocations: 0.7924 MB / 1.007 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8533, allocations: 4 kB / 1.007 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.8539, allocations: 0.4963 MB / 1.008 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.8546, allocations: 301.8 kB / 1.008 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007145/0.8617, allocations: 6.631 MB / 1.015 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.8623, allocations: 1.043 MB / 1.016 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005355/0.8629, allocations: 266.9 kB / 1.016 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.8633, allocations: 415.2 kB / 1.016 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of SimCode: time 8.21e-07/0.8633, allocations: 0 / 1.016 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.9056, allocations: 23.25 MB / 1.039 GB, free: 2.266 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.396/10.3, allocations: 8.609 kB / 1.039 GB, free: 2.262 MB / 0.8073 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 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.725952656939626] Failed to read output from testmodel.py, exit status != 0: 10.449285853188485 10.465229997 9.640519244 Calling exit ...