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.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.001819/0.001819, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002492/0.002492, allocations: 215.3 kB / 23.04 MB, free: 5.074 MB / 14.72 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.8655/0.8655, allocations: 134 MB / 447.2 MB, free: 10.3 MB / 350.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.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.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="cs",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.002008/0.002008, allocations: 68.31 kB / 0.6193 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1651, allocations: 85.9 MB / 0.7032 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5692/0.7343, allocations: 163.9 MB / 0.8633 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03838/0.7727, allocations: 26.91 MB / 0.8895 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.7756, allocations: 91.31 kB / 0.8896 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.7781, allocations: 0.9986 MB / 0.8906 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.783, allocations: 1.692 MB / 0.8923 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.7873, allocations: 1.671 MB / 0.8939 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006382/0.7937, allocations: 4.629 MB / 0.8984 GB, free: 14.53 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004642/0.7984, allocations: 2.999 MB / 0.9013 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003844/0.8022, allocations: 2.027 MB / 0.9033 GB, free: 9.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.8063, allocations: 2.406 MB / 0.9057 GB, free: 7.016 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.8074, allocations: 428 kB / 0.9061 GB, free: 6.598 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.8101, allocations: 1.097 MB / 0.9072 GB, free: 5.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.8116, allocations: 1.114 MB / 0.9082 GB, free: 4.383 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.8145, allocations: 1.943 MB / 0.9101 GB, free: 2.43 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006985/0.8215, allocations: 5.599 MB / 0.9156 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.8215, allocations: 4 kB / 0.9156 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8215, allocations: 4 kB / 0.9156 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.752e-05/0.8216, allocations: 0 / 0.9156 GB, free: 12.8 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008475/0.83, allocations: 4.369 MB / 0.9199 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8301, allocations: 12.03 kB / 0.9199 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.927e-05/0.8302, allocations: 82.12 kB / 0.92 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005671/0.8307, allocations: 438.2 kB / 0.9204 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.8472, allocations: 3.125 MB / 0.9234 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/0.8517, allocations: 2.203 MB / 0.9256 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.8519, allocations: 230.2 kB / 0.9258 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005416/0.8524, allocations: 303.9 kB / 0.9261 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.8632, allocations: 4.967 MB / 0.931 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.729e-05/0.8632, allocations: 3.938 kB / 0.931 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/0.8636, allocations: 135.9 kB / 0.9311 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/0.8637, allocations: 76 kB / 0.9312 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.879, allocations: 6.099 MB / 0.9371 GB, free: 6.535 MB / 0.7012 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.02529/0.9043, allocations: 13.53 MB / 0.9503 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.9145, allocations: 4.147 MB / 0.9544 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005104/0.9196, allocations: 2.163 MB / 0.9565 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/0.9203, allocations: 153.9 kB / 0.9566 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00612/0.9264, allocations: 2.374 MB / 0.959 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=257): time 4.308e-06/0.9265, allocations: 0 / 0.959 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257): time 0.01792/0.9444, allocations: 6.715 MB / 0.9655 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.9445, allocations: 209.9 kB / 0.9657 GB, free: 8.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/0.9482, allocations: 2.352 MB / 0.968 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.9485, allocations: 69.7 kB / 0.9681 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.9499, allocations: 1.336 MB / 0.9694 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009674/0.9509, allocations: 0.8947 MB / 0.9703 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009699/0.9518, allocations: 460.1 kB / 0.9707 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.952, allocations: 305.1 kB / 0.971 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00474/0.9567, allocations: 1.874 MB / 0.9728 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/0.9617, allocations: 2.184 MB / 0.9749 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009488/0.9712, allocations: 4.041 MB / 0.9789 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.9712, allocations: 3.938 kB / 0.9789 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01182/0.983, allocations: 4.652 MB / 0.9834 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.983, allocations: 8 kB / 0.9834 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.9831, allocations: 7.938 kB / 0.9835 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006802/0.9837, allocations: 228.9 kB / 0.9837 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003839/0.9876, allocations: 0.7566 MB / 0.9844 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004607/0.9922, allocations: 3.283 MB / 0.9876 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/0.9957, allocations: 0.5314 MB / 0.9881 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/0.9961, allocations: 99.92 kB / 0.9882 GB, free: 1.168 MB / 0.7481 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.002007/0.9981, allocations: 0.8839 MB / 0.9891 GB, free: 280 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008311/0.9989, allocations: 286 kB / 0.9894 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/1.013, allocations: 5.264 MB / 0.9945 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.013, allocations: 24 kB / 0.9945 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/1.013, allocations: 11.92 kB / 0.9945 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/1.013, allocations: 11.95 kB / 0.9946 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/1.032, allocations: 8.853 MB / 1.003 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.032, allocations: 11.91 kB / 1.003 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003649/1.036, allocations: 0.7177 MB / 1.004 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008836/1.037, allocations: 258.3 kB / 1.004 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002929/1.037, allocations: 79.92 kB / 1.004 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005827/1.043, allocations: 5.026 MB / 1.009 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.043, allocations: 0 / 1.009 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/1.062, allocations: 7.538 MB / 1.017 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/1.064, allocations: 0.7375 MB / 1.017 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006518/1.064, allocations: 59.89 kB / 1.017 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003158/1.067, allocations: 393.6 kB / 1.018 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.068, allocations: 173.8 kB / 1.018 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/1.068, allocations: 95.86 kB / 1.018 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002868/1.071, allocations: 1.716 MB / 1.02 GB, free: 492 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/1.071, allocations: 4 kB / 1.02 GB, free: 488 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002914/1.074, allocations: 0.9702 MB / 1.021 GB, free: 15.5 MB / 0.795 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.03323/1.107, allocations: 9.023 MB / 1.029 GB, free: 6.758 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01686/1.124, allocations: 4.416 MB / 1.034 GB, free: 2.293 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.124, allocations: 0 / 1.034 GB, free: 2.293 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.009362/1.133, allocations: 2.471 MB / 1.036 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/1.139, allocations: 0.6445 MB / 1.037 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08932/1.228, allocations: 27.79 MB / 1.064 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003464/1.232, allocations: 2.375 MB / 1.066 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.3503/1.582, allocations: 1.081 MB / 1.067 GB, free: 302.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002841/1.585, allocations: 1.375 MB / 1.069 GB, free: 302.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.092e-06/1.585, allocations: 0.8125 kB / 1.069 GB, free: 302.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.173/1.758, allocations: 68.96 MB / 1.136 GB, free: 260.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/20.91, allocations: 10.17 kB / 1.136 GB, free: 260.4 MB / 0.8262 GB " [Timeout remaining time 639] (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: 27.33762301900424] Failed to read output from testmodel.py, exit status != 0: 21.22459392400924 21.236131326 20.412127509 Calling exit ...