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.001209/0.001209, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9837/0.9837, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 63.81 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2064, allocations: 80.92 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.5877/0.7942, allocations: 160.2 MB / 0.7409 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04088/0.8351, allocations: 26.6 MB / 0.7668 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004648/0.8398, allocations: 79.62 kB / 0.7669 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.8426, allocations: 0.6204 MB / 0.7675 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.8487, allocations: 1.427 MB / 0.7689 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006687/0.8554, allocations: 1.627 MB / 0.7705 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007621/0.863, allocations: 4.459 MB / 0.7749 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005774/0.8688, allocations: 3.951 MB / 0.7787 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/0.8732, allocations: 1.829 MB / 0.7805 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.8776, allocations: 2.129 MB / 0.7826 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001932/0.8795, allocations: 416 kB / 0.783 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.8844, allocations: 1.389 MB / 0.7843 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002021/0.8865, allocations: 1.044 MB / 0.7854 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004147/0.8906, allocations: 1.831 MB / 0.7871 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009379/0.9, allocations: 5.403 MB / 0.7924 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.9001, allocations: 0 / 0.7924 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.956e-06/0.9001, allocations: 4 kB / 0.7924 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002286/0.9003, allocations: 0 / 0.7924 GB, free: 7.648 MB / 0.6075 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.01277/0.9131, allocations: 4.069 MB / 0.7964 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.9132, allocations: 8.031 kB / 0.7964 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001418/0.9146, allocations: 425.6 kB / 0.7968 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/0.9291, allocations: 2.749 MB / 0.7995 GB, free: 328 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005153/0.9343, allocations: 2.058 MB / 0.8015 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.9345, allocations: 230 kB / 0.8017 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009884/0.9355, allocations: 291.9 kB / 0.802 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.9476, allocations: 4.95 MB / 0.8068 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.9477, allocations: 0 / 0.8068 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000378/0.9481, allocations: 128 kB / 0.807 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/0.9481, allocations: 79.94 kB / 0.807 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.9639, allocations: 6.091 MB / 0.813 GB, free: 2.328 MB / 0.6231 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.03007/0.994, allocations: 15.42 MB / 0.828 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007659/1.002, allocations: 3.67 MB / 0.8316 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/1.006, allocations: 2.011 MB / 0.8336 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/1.006, allocations: 224.3 kB / 0.8338 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004369/1.011, allocations: 2.131 MB / 0.8359 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=231): time 3.577e-06/1.011, allocations: 0 / 0.8359 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=231): time 0.01398/1.025, allocations: 6.091 MB / 0.8418 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/1.025, allocations: 291 kB / 0.8421 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/1.028, allocations: 2.081 MB / 0.8441 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004297/1.028, allocations: 65.7 kB / 0.8442 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.03, allocations: 1.199 MB / 0.8454 GB, free: 236 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009761/1.031, allocations: 0.774 MB / 0.8461 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/1.032, allocations: 455.8 kB / 0.8466 GB, free: 14.99 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.032, allocations: 309.1 kB / 0.8469 GB, free: 14.69 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/1.036, allocations: 1.671 MB / 0.8485 GB, free: 13.01 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004252/1.04, allocations: 2.061 MB / 0.8505 GB, free: 10.82 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008212/1.048, allocations: 3.707 MB / 0.8541 GB, free: 7.031 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/1.048, allocations: 0 / 0.8541 GB, free: 7.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01075/1.059, allocations: 4.293 MB / 0.8583 GB, free: 2.723 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/1.059, allocations: 8 kB / 0.8583 GB, free: 2.715 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/1.059, allocations: 8 kB / 0.8583 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007961/1.06, allocations: 239.4 kB / 0.8586 GB, free: 2.473 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/1.064, allocations: 0.6981 MB / 0.8592 GB, free: 1.773 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3569/1.421, allocations: 3.372 MB / 0.8625 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005239/1.426, allocations: 0.5381 MB / 0.8631 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007644/1.427, allocations: 97.52 kB / 0.8632 GB, free: 214.3 MB / 0.67 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.002608/1.429, allocations: 0.8092 MB / 0.8639 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.43, allocations: 244.8 kB / 0.8642 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.444, allocations: 4.516 MB / 0.8686 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/1.444, allocations: 22.81 kB / 0.8686 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/1.444, allocations: 9.344 kB / 0.8686 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-05/1.445, allocations: 9.516 kB / 0.8686 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/1.464, allocations: 7.734 MB / 0.8762 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.464, allocations: 9.594 kB / 0.8762 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/1.467, allocations: 0.5531 MB / 0.8767 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/1.468, allocations: 277.6 kB / 0.877 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/1.468, allocations: 71.75 kB / 0.8771 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004105/1.472, allocations: 5.243 MB / 0.8822 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/1.472, allocations: 18.72 kB / 0.8822 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/1.483, allocations: 5.671 MB / 0.8877 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.485, allocations: 0.6756 MB / 0.8884 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006851/1.486, allocations: 68.92 kB / 0.8885 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/1.488, allocations: 273.6 kB / 0.8887 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/1.488, allocations: 188.2 kB / 0.8889 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.489, allocations: 91.78 kB / 0.889 GB, free: 203.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001953/1.491, allocations: 1.502 MB / 0.8905 GB, free: 202.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.491, allocations: 2.594 kB / 0.8905 GB, free: 202.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00273/1.493, allocations: 0.8693 MB / 0.8913 GB, free: 202.7 MB / 0.67 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.01286/1.506, allocations: 7.151 MB / 0.8983 GB, free: 199.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.52, allocations: 5.342 MB / 0.9035 GB, free: 198.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.409e-05/1.52, allocations: 2.969 kB / 0.9035 GB, free: 198.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005233/1.525, allocations: 1.993 MB / 0.9055 GB, free: 197.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/1.529, allocations: 0.6452 MB / 0.9061 GB, free: 197.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06878/1.598, allocations: 28.77 MB / 0.9342 GB, free: 182.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.6, allocations: 2.232 MB / 0.9364 GB, free: 181.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00341/1.603, allocations: 0.948 MB / 0.9373 GB, free: 181.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/1.605, allocations: 1.23 MB / 0.9385 GB, free: 180.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.924e-06/1.605, allocations: 0 / 0.9385 GB, free: 180.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/1.712, allocations: 62.55 MB / 0.9996 GB, free: 119.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.8, allocations: 13.61 kB / 0.9996 GB, free: 119.8 MB / 0.67 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)