Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004814/0.004814, allocations: 101.3 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 194.4 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9802/0.9802, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.89 kB / 0.5851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5091, allocations: 80.9 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.2027/0.7118, allocations: 160.2 MB / 0.8206 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04117/0.753, allocations: 26.6 MB / 0.8466 GB, free: 6.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004116/0.7572, allocations: 71.62 kB / 0.8466 GB, free: 6.039 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.7597, allocations: 0.6165 MB / 0.8472 GB, free: 5.418 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.7649, allocations: 1.432 MB / 0.8486 GB, free: 3.98 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.7694, allocations: 1.631 MB / 0.8502 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006396/0.7758, allocations: 4.494 MB / 0.8546 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005646/0.7815, allocations: 3.944 MB / 0.8585 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/0.7854, allocations: 1.85 MB / 0.8603 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003623/0.789, allocations: 2.136 MB / 0.8624 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.7904, allocations: 420 kB / 0.8628 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.794, allocations: 1.428 MB / 0.8641 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001721/0.7958, allocations: 1.032 MB / 0.8652 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003711/0.7995, allocations: 1.835 MB / 0.8669 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.4805/1.28, allocations: 5.482 MB / 0.8723 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.28, allocations: 0 / 0.8723 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/1.28, allocations: 0 / 0.8723 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001645/1.28, allocations: 0 / 0.8723 GB, free: 12.01 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: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.01215/1.292, allocations: 4.082 MB / 0.8763 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/1.292, allocations: 10.09 kB / 0.8763 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007899/1.293, allocations: 427.9 kB / 0.8767 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/1.308, allocations: 2.741 MB / 0.8794 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006369/1.315, allocations: 2.105 MB / 0.8814 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/1.315, allocations: 225.8 kB / 0.8817 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/1.316, allocations: 293.3 kB / 0.8819 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/1.329, allocations: 4.947 MB / 0.8868 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.631e-05/1.329, allocations: 2.188 kB / 0.8868 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003802/1.329, allocations: 125.4 kB / 0.8869 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.176e-05/1.33, allocations: 74.28 kB / 0.887 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/1.346, allocations: 6.102 MB / 0.8929 GB, free: 9.328 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.03122/1.378, allocations: 15.32 MB / 0.9079 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00822/1.386, allocations: 3.671 MB / 0.9115 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00422/1.39, allocations: 2.01 MB / 0.9134 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/1.39, allocations: 226.2 kB / 0.9136 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004388/1.395, allocations: 2.128 MB / 0.9157 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=231): time 1.14e-05/1.395, allocations: 3.281 kB / 0.9157 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of matching and sorting (n=231): time 0.01458/1.409, allocations: 6.083 MB / 0.9217 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/1.41, allocations: 293 kB / 0.9219 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/1.413, allocations: 2.085 MB / 0.924 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003452/1.414, allocations: 65.92 kB / 0.924 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/1.415, allocations: 1.202 MB / 0.9252 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007834/1.416, allocations: 0.7658 MB / 0.926 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.417, allocations: 458.9 kB / 0.9264 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/1.417, allocations: 302 kB / 0.9267 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/1.42, allocations: 1.677 MB / 0.9283 GB, free: 248 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004298/1.425, allocations: 2.106 MB / 0.9304 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007508/1.432, allocations: 3.702 MB / 0.934 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/1.432, allocations: 2.906 kB / 0.934 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.009836/1.442, allocations: 4.294 MB / 0.9382 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.442, allocations: 12.34 kB / 0.9382 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/1.442, allocations: 11.53 kB / 0.9382 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/1.443, allocations: 230.8 kB / 0.9384 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/1.446, allocations: 0.7106 MB / 0.9391 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/1.45, allocations: 3.376 MB / 0.9424 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003799/1.454, allocations: 0.5315 MB / 0.9429 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/1.455, allocations: 103.7 kB / 0.943 GB, free: 10.68 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (258): * Single equations (assignments): 257 * 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.002297/1.457, allocations: 0.813 MB / 0.9438 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.458, allocations: 241 kB / 0.9441 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.469, allocations: 4.505 MB / 0.9485 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/1.469, allocations: 20 kB / 0.9485 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/1.469, allocations: 8 kB / 0.9485 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/1.469, allocations: 11.95 kB / 0.9485 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/1.487, allocations: 7.733 MB / 0.9561 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.382e-05/1.487, allocations: 8 kB / 0.9561 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.49, allocations: 0.5554 MB / 0.9566 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008494/1.491, allocations: 272.9 kB / 0.9569 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/1.491, allocations: 67.95 kB / 0.9569 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005203/1.496, allocations: 5.245 MB / 0.9621 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/1.496, allocations: 18.28 kB / 0.9621 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.508, allocations: 5.678 MB / 0.9676 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/1.51, allocations: 0.6692 MB / 0.9683 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008608/1.511, allocations: 67.83 kB / 0.9683 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/1.514, allocations: 276.8 kB / 0.9686 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000411/1.514, allocations: 187.1 kB / 0.9688 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/1.514, allocations: 87.95 kB / 0.9689 GB, free: 472 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003396/1.518, allocations: 1.508 MB / 0.9703 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.82e-07/1.518, allocations: 0 / 0.9703 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004036/1.522, allocations: 0.874 MB / 0.9712 GB, free: 14.06 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (219): * Single equations (assignments): 212 * 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.01466/1.537, allocations: 7.148 MB / 0.9782 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00874/1.545, allocations: 3.742 MB / 0.9818 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.545, allocations: 7.094 kB / 0.9818 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004177/1.55, allocations: 1.986 MB / 0.9838 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004289/1.554, allocations: 0.655 MB / 0.9844 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05795/1.612, allocations: 25.99 MB / 1.01 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003442/1.615, allocations: 2.231 MB / 1.012 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003988/1.619, allocations: 0.9505 MB / 1.013 GB, free: 3.23 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002607/1.622, allocations: 1.226 MB / 1.014 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of SimCode: time 1.664e-06/1.622, allocations: 0 / 1.014 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.746, allocations: 64.5 MB / 1.077 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.17/18.92, allocations: 3.875 kB / 1.077 GB, free: 2.066 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomSteadyState.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)