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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.124/1.124, allocations: 175.8 MB / 478.5 MB, free: 8.492 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 69.77 kB / 0.6652 GB, free: 0.543 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2555, allocations: 94.54 MB / 0.7576 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.8528/1.108, allocations: 166.6 MB / 0.9203 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01632/1.125, allocations: 7.85 MB / 0.9279 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/1.127, allocations: 27.88 kB / 0.928 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/1.129, allocations: 416.9 kB / 0.9284 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005797/1.135, allocations: 1.346 MB / 0.9297 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004326/1.139, allocations: 1.181 MB / 0.9308 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005953/1.145, allocations: 2.353 MB / 0.9331 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/1.148, allocations: 0.9868 MB / 0.9341 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/1.151, allocations: 0.8602 MB / 0.9349 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/1.153, allocations: 0.8076 MB / 0.9357 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003402/1.153, allocations: 152 kB / 0.9359 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/1.157, allocations: 1.162 MB / 0.937 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000549/1.157, allocations: 434.5 kB / 0.9374 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/1.158, allocations: 0.7813 MB / 0.9382 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005343/1.164, allocations: 2.428 MB / 0.9406 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/1.164, allocations: 0 / 0.9406 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.685e-06/1.164, allocations: 0 / 0.9406 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.827e-05/1.164, allocations: 0 / 0.9406 GB, free: 12.57 MB / 0.7325 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.004343/1.168, allocations: 1.939 MB / 0.9424 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/1.168, allocations: 12.03 kB / 0.9425 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/1.168, allocations: 161 kB / 0.9426 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/1.17, allocations: 334.7 kB / 0.9429 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/1.173, allocations: 1.031 MB / 0.9439 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/1.173, allocations: 82.2 kB / 0.944 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/1.173, allocations: 108 kB / 0.9441 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/1.175, allocations: 1.176 MB / 0.9453 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/1.175, allocations: 4.938 kB / 0.9453 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/1.175, allocations: 48 kB / 0.9453 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/1.175, allocations: 46.11 kB / 0.9454 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/1.178, allocations: 1.308 MB / 0.9466 GB, free: 6.137 MB / 0.7325 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.00681/1.184, allocations: 3.888 MB / 0.9504 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/1.186, allocations: 0.9429 MB / 0.9514 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006629/1.187, allocations: 373.3 kB / 0.9517 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/1.187, allocations: 33.03 kB / 0.9517 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/1.188, allocations: 0.5865 MB / 0.9523 GB, free: 80 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=102): time 2.315e-06/1.188, allocations: 3.938 kB / 0.9523 GB, free: 76 kB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.003962/1.192, allocations: 1.443 MB / 0.9537 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/1.192, allocations: 200.9 kB / 0.9539 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/1.194, allocations: 0.8341 MB / 0.9547 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-05/1.194, allocations: 45.7 kB / 0.9548 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/1.194, allocations: 0.5324 MB / 0.9553 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/1.195, allocations: 349 kB / 0.9556 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/1.195, allocations: 186.5 kB / 0.9558 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.195, allocations: 341.9 kB / 0.9561 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/1.196, allocations: 317.8 kB / 0.9564 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/1.197, allocations: 483.5 kB / 0.9569 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/1.198, allocations: 0.7776 MB / 0.9577 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/1.198, allocations: 4 kB / 0.9577 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00249/1.2, allocations: 1.025 MB / 0.9587 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/1.2, allocations: 8.219 kB / 0.9587 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.201, allocations: 7.125 kB / 0.9587 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/1.201, allocations: 84.77 kB / 0.9588 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/1.202, allocations: 211.7 kB / 0.959 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/1.204, allocations: 1.633 MB / 0.9606 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.206, allocations: 110.3 kB / 0.9607 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/1.206, allocations: 43.97 kB / 0.9607 GB, free: 7.141 MB / 0.7481 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.0007739/1.206, allocations: 314.2 kB / 0.961 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/1.207, allocations: 123.2 kB / 0.9611 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/1.21, allocations: 1.251 MB / 0.9623 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.21, allocations: 12 kB / 0.9624 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.21, allocations: 0 / 0.9624 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/1.21, allocations: 3.984 kB / 0.9624 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/1.212, allocations: 1.169 MB / 0.9635 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.212, allocations: 3.938 kB / 0.9635 GB, free: 4.203 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008878/1.213, allocations: 203.8 kB / 0.9637 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004421/1.213, allocations: 72.78 kB / 0.9638 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-05/1.213, allocations: 35.97 kB / 0.9638 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/1.215, allocations: 1.663 MB / 0.9654 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.215, allocations: 0 / 0.9654 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/1.219, allocations: 1.578 MB / 0.967 GB, free: 500 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008972/1.22, allocations: 332 kB / 0.9673 GB, free: 148 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/1.22, allocations: 23.94 kB / 0.9673 GB, free: 124 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/1.221, allocations: 79.91 kB / 0.9674 GB, free: 48 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.221, allocations: 72.89 kB / 0.9674 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/1.221, allocations: 51.91 kB / 0.9675 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001215/1.223, allocations: 0.5821 MB / 0.9681 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/1.223, allocations: 0 / 0.9681 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001608/1.224, allocations: 427 kB / 0.9685 GB, free: 14.91 MB / 0.7637 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.006144/1.23, allocations: 2.659 MB / 0.9711 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002314/1.233, allocations: 0.9292 MB / 0.972 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.233, allocations: 8.078 kB / 0.972 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/1.234, allocations: 0.5627 MB / 0.9725 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.237, allocations: 0.4937 MB / 0.973 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/1.254, allocations: 8.225 MB / 0.9811 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.256, allocations: 1.154 MB / 0.9822 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001417/1.257, allocations: 321.2 kB / 0.9825 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009715/1.258, allocations: 0.5149 MB / 0.983 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of SimCode: time 1.532e-06/1.258, allocations: 3.938 kB / 0.983 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.359, allocations: 29.74 MB / 1.012 GB, free: 2.566 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.27, allocations: 12.58 kB / 1.012 GB, free: 2.555 MB / 0.795 GB " [Timeout remaining time 644] (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: 20.80287402216345] Failed to read output from testmodel.py, exit status != 0: 16.482977552805096 16.49701639 15.330248968 Calling exit ...