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.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.001687/0.001687, allocations: 111.4 kB / 16.41 MB, free: 6.5 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.001792/0.001793, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.689/1.689, allocations: 222.9 MB / 245.1 MB, free: 15 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.147/1.147, allocations: 173.4 MB / 470.7 MB, free: 13.6 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.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: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 64.05 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2449, allocations: 89.52 MB / 0.7353 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008191/0.2531, allocations: 5.241 MB / 0.7404 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.8014/1.055, allocations: 150.7 MB / 0.8875 GB, free: 5.422 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/1.056, allocations: 15.94 kB / 0.8875 GB, free: 5.406 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007783/1.057, allocations: 201.2 kB / 0.8877 GB, free: 5.211 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/1.059, allocations: 0.5624 MB / 0.8883 GB, free: 4.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/1.062, allocations: 0.8574 MB / 0.8891 GB, free: 3.832 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002453/1.064, allocations: 1.449 MB / 0.8905 GB, free: 2.379 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/1.065, allocations: 0.603 MB / 0.8911 GB, free: 1.754 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/1.066, allocations: 0.4983 MB / 0.8916 GB, free: 1.254 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008009/1.067, allocations: 0.5328 MB / 0.8921 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/1.067, allocations: 120 kB / 0.8922 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/1.069, allocations: 487.6 kB / 0.8927 GB, free: 128 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/1.069, allocations: 310.9 kB / 0.893 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006812/1.07, allocations: 0.5869 MB / 0.8936 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/1.073, allocations: 1.695 MB / 0.8952 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.073, allocations: 0 / 0.8952 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.314e-06/1.073, allocations: 4 kB / 0.8952 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.981e-05/1.073, allocations: 4 kB / 0.8952 GB, free: 13.53 MB / 0.6856 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.003213/1.076, allocations: 1.53 MB / 0.8967 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.076, allocations: 8.031 kB / 0.8967 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/1.076, allocations: 143.7 kB / 0.8969 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/1.077, allocations: 204 kB / 0.8971 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.079, allocations: 0.7904 MB / 0.8978 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-05/1.079, allocations: 66 kB / 0.8979 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/1.079, allocations: 87.98 kB / 0.898 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/1.081, allocations: 0.9496 MB / 0.8989 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/1.081, allocations: 1.188 kB / 0.8989 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/1.081, allocations: 40 kB / 0.8989 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/1.081, allocations: 23.98 kB / 0.899 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/1.083, allocations: 1.141 MB / 0.9001 GB, free: 8.41 MB / 0.6856 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.00511/1.088, allocations: 2.871 MB / 0.9029 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/1.09, allocations: 0.8436 MB / 0.9037 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/1.09, allocations: 326.7 kB / 0.904 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-05/1.091, allocations: 24.69 kB / 0.904 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009855/1.092, allocations: 0.5107 MB / 0.9045 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/1.092, allocations: 0 / 0.9045 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.003559/1.095, allocations: 1.255 MB / 0.9058 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/1.095, allocations: 192.9 kB / 0.9059 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.096, allocations: 0.6469 MB / 0.9066 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-05/1.096, allocations: 41.7 kB / 0.9066 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/1.097, allocations: 437 kB / 0.907 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/1.097, allocations: 281.6 kB / 0.9073 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.097, allocations: 150.6 kB / 0.9074 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002324/1.098, allocations: 390.7 kB / 0.9078 GB, free: 212 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/1.098, allocations: 257.9 kB / 0.9081 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/1.099, allocations: 370.6 kB / 0.9084 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/1.1, allocations: 0.6086 MB / 0.909 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.1, allocations: 0 / 0.909 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002155/1.102, allocations: 0.8463 MB / 0.9098 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.102, allocations: 4 kB / 0.9098 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.102, allocations: 4 kB / 0.9098 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006487/1.103, allocations: 76.88 kB / 0.9099 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/1.104, allocations: 163.8 kB / 0.9101 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/1.106, allocations: 1.633 MB / 0.9117 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00087/1.107, allocations: 103.4 kB / 0.9118 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/1.107, allocations: 35.98 kB / 0.9118 GB, free: 11.94 MB / 0.7012 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.0006463/1.108, allocations: 266.3 kB / 0.9121 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/1.108, allocations: 95.42 kB / 0.9121 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/1.111, allocations: 1.095 MB / 0.9132 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/1.111, allocations: 8 kB / 0.9132 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.111, allocations: 3.938 kB / 0.9132 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/1.111, allocations: 7.969 kB / 0.9132 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/1.112, allocations: 0.927 MB / 0.9141 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/1.112, allocations: 4 kB / 0.9141 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/1.113, allocations: 159.8 kB / 0.9143 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/1.114, allocations: 73.38 kB / 0.9144 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/1.114, allocations: 23.98 kB / 0.9144 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/1.116, allocations: 1.658 MB / 0.916 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.116, allocations: 0 / 0.916 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/1.119, allocations: 1.371 MB / 0.9174 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/1.12, allocations: 292.2 kB / 0.9176 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/1.12, allocations: 19.94 kB / 0.9176 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006629/1.121, allocations: 71.55 kB / 0.9177 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/1.121, allocations: 72.91 kB / 0.9178 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.282e-05/1.121, allocations: 35.97 kB / 0.9178 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008295/1.122, allocations: 471 kB / 0.9183 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/1.122, allocations: 4 kB / 0.9183 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001263/1.123, allocations: 335.2 kB / 0.9186 GB, free: 4.738 MB / 0.7012 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.005628/1.129, allocations: 2.437 MB / 0.921 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002021/1.131, allocations: 0.8273 MB / 0.9218 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.131, allocations: 0 / 0.9218 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.132, allocations: 0.5355 MB / 0.9223 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.133, allocations: 304.3 kB / 0.9226 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/1.146, allocations: 6.548 MB / 0.929 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007948/1.147, allocations: 1.035 MB / 0.93 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009929/1.148, allocations: 259 kB / 0.9302 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/1.148, allocations: 411.3 kB / 0.9306 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of SimCode: time 1.613e-06/1.149, allocations: 0 / 0.9306 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07416/1.223, allocations: 22.22 MB / 0.9523 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.26, allocations: 8.531 kB / 0.9524 GB, free: 2.422 MB / 0.7325 GB " [Timeout remaining time 645] (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: 19.899138615932316] Failed to read output from testmodel.py, exit status != 0: 15.469786840956658 15.485746952 14.410425204 Calling exit ...