Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.001575/0.001575, allocations: 107.2 kB / 16.45 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.001719/0.001719, 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.43/1.43, 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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8293/0.8293, allocations: 134 MB / 436.6 MB, free: 1.289 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 65.08 kB / 0.6051 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1864, allocations: 84.68 MB / 0.6878 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6082/0.7945, allocations: 160.7 MB / 0.8447 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04039/0.8349, allocations: 26.69 MB / 0.8708 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004152/0.8391, allocations: 71.62 kB / 0.8708 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.8421, allocations: 0.9971 MB / 0.8718 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006123/0.8482, allocations: 1.624 MB / 0.8734 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0051/0.8533, allocations: 1.646 MB / 0.875 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007335/0.8607, allocations: 4.57 MB / 0.8795 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005455/0.8661, allocations: 3.38 MB / 0.8828 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.8708, allocations: 1.963 MB / 0.8847 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004491/0.8752, allocations: 2.405 MB / 0.887 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.8764, allocations: 424 kB / 0.8874 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.8796, allocations: 1.038 MB / 0.8884 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.8808, allocations: 1.118 MB / 0.8895 GB, free: 32 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002931/0.8837, allocations: 1.928 MB / 0.8914 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.8948, allocations: 5.538 MB / 0.8968 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8948, allocations: 0 / 0.8968 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8948, allocations: 0 / 0.8968 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001758/0.895, allocations: 0 / 0.8968 GB, free: 8.535 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01097/0.906, allocations: 4.425 MB / 0.9012 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.906, allocations: 8.031 kB / 0.9012 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006201/0.9067, allocations: 439 kB / 0.9016 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.9204, allocations: 2.771 MB / 0.9043 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005866/0.9263, allocations: 2.229 MB / 0.9065 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.9265, allocations: 230.2 kB / 0.9067 GB, free: 14.3 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008909/0.9274, allocations: 304 kB / 0.907 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.9397, allocations: 4.967 MB / 0.9118 GB, free: 8.953 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.704e-05/0.9398, allocations: 4 kB / 0.9118 GB, free: 8.949 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003605/0.9401, allocations: 124 kB / 0.9119 GB, free: 8.828 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.502e-05/0.9402, allocations: 79.94 kB / 0.912 GB, free: 8.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.9557, allocations: 6.11 MB / 0.918 GB, free: 2.629 MB / 0.67 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.03074/0.9864, allocations: 13.56 MB / 0.9312 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.9974, allocations: 4.146 MB / 0.9353 GB, free: 496 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00554/1.003, allocations: 2.159 MB / 0.9374 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.004, allocations: 0.6735 MB / 0.938 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00612/1.01, allocations: 2.366 MB / 0.9404 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=257): time 5.48e-06/1.01, allocations: 4 kB / 0.9404 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257): time 0.01968/1.03, allocations: 6.936 MB / 0.9471 GB, free: 4.055 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/1.03, allocations: 214 kB / 0.9473 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/1.034, allocations: 2.311 MB / 0.9496 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005321/1.035, allocations: 69.7 kB / 0.9497 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/1.036, allocations: 1.332 MB / 0.951 GB, free: 36 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.037, allocations: 0.891 MB / 0.9518 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/1.039, allocations: 464.1 kB / 0.9523 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.039, allocations: 305.1 kB / 0.9526 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004917/1.044, allocations: 1.874 MB / 0.9544 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005721/1.05, allocations: 2.189 MB / 0.9565 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.06, allocations: 4.041 MB / 0.9605 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/1.06, allocations: 8 kB / 0.9605 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01196/1.072, allocations: 4.644 MB / 0.965 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.072, allocations: 8 kB / 0.965 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/1.072, allocations: 11.92 kB / 0.965 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000799/1.073, allocations: 236.8 kB / 0.9653 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003975/1.076, allocations: 0.7566 MB / 0.966 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/1.082, allocations: 3.374 MB / 0.9693 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/1.087, allocations: 0.5234 MB / 0.9698 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006954/1.087, allocations: 107.9 kB / 0.9699 GB, free: 12.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 263 * 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): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002856/1.09, allocations: 0.8836 MB / 0.9708 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.091, allocations: 274.2 kB / 0.971 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/1.107, allocations: 5.261 MB / 0.9762 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/1.107, allocations: 28 kB / 0.9762 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/1.107, allocations: 4.109 kB / 0.9762 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.373e-05/1.107, allocations: 19.83 kB / 0.9762 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02334/1.13, allocations: 8.815 MB / 0.9848 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.13, allocations: 0 / 0.9848 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003941/1.134, allocations: 0.7176 MB / 0.9855 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009288/1.135, allocations: 262.4 kB / 0.9858 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004649/1.136, allocations: 71.94 kB / 0.9859 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006797/1.143, allocations: 5.236 MB / 0.991 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.143, allocations: 3.984 kB / 0.991 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/1.162, allocations: 7.53 MB / 0.9983 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/1.165, allocations: 0.7914 MB / 0.9991 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008296/1.166, allocations: 55.95 kB / 0.9992 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/1.169, allocations: 395.4 kB / 0.9995 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005376/1.169, allocations: 166.1 kB / 0.9997 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003859/1.17, allocations: 99.86 kB / 0.9998 GB, free: 13 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003318/1.173, allocations: 1.692 MB / 1.001 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/1.173, allocations: 0 / 1.001 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003587/1.177, allocations: 0.9702 MB / 1.002 GB, free: 10.32 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02293/1.2, allocations: 9.026 MB / 1.011 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.213, allocations: 4.413 MB / 1.016 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.213, allocations: 7.938 kB / 1.016 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006808/1.22, allocations: 2.467 MB / 1.018 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/1.224, allocations: 0.6441 MB / 1.019 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07322/1.297, allocations: 27.66 MB / 1.046 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003849/1.301, allocations: 2.363 MB / 1.048 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005385/1.306, allocations: 1.09 MB / 1.049 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003604/1.31, allocations: 1.37 MB / 1.05 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of SimCode: time 1.633e-06/1.31, allocations: 0 / 1.05 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5346/1.844, allocations: 66.7 MB / 1.115 GB, free: 294.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.32/19.17, allocations: 6.578 kB / 1.115 GB, free: 294.8 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.113816951867193] Failed to read output from testmodel.py, exit status != 0: 19.408253491390496 19.419586738 18.522221084 Calling exit ...