Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.0009814/0.000981, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001163/0.001163, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 8.219 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2069, allocations: 82.31 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5779/0.7848, allocations: 145.7 MB / 0.7297 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03811/0.823, allocations: 24.91 MB / 0.7541 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004398/0.8274, allocations: 65.25 kB / 0.7541 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.8299, allocations: 0.8623 MB / 0.755 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.8355, allocations: 1.42 MB / 0.7564 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.84, allocations: 1.224 MB / 0.7576 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006878/0.8469, allocations: 4.485 MB / 0.7619 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004705/0.8516, allocations: 2.946 MB / 0.7648 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.8541, allocations: 1.346 MB / 0.7661 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.8574, allocations: 1.809 MB / 0.7679 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004946/0.858, allocations: 108 kB / 0.768 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.8601, allocations: 0.6048 MB / 0.7686 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007327/0.8608, allocations: 0.7197 MB / 0.7693 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009759/0.8618, allocations: 0.6362 MB / 0.7699 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004779/0.8666, allocations: 4.345 MB / 0.7742 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.8666, allocations: 4 kB / 0.7742 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8666, allocations: 0 / 0.7742 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001462/0.8668, allocations: 0 / 0.7742 GB, free: 12.99 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.008132/0.8749, allocations: 3.848 MB / 0.7779 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.875, allocations: 12.02 kB / 0.7779 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008696/0.8758, allocations: 459.1 kB / 0.7784 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.8879, allocations: 2.882 MB / 0.7812 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004986/0.8929, allocations: 2.186 MB / 0.7833 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.8931, allocations: 238.5 kB / 0.7835 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005449/0.8937, allocations: 320 kB / 0.7838 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.9048, allocations: 5.159 MB / 0.7889 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/0.9049, allocations: 3.906 kB / 0.7889 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00034/0.9053, allocations: 136 kB / 0.789 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/0.9054, allocations: 80 kB / 0.7891 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.9187, allocations: 6.354 MB / 0.7953 GB, free: 7.078 MB / 0.6075 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.02646/0.9452, allocations: 14.56 MB / 0.8095 GB, free: 8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009482/0.9547, allocations: 4.503 MB / 0.8139 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005045/0.9598, allocations: 2.47 MB / 0.8163 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009605/0.9608, allocations: 0.6736 MB / 0.817 GB, free: 208 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005279/0.9661, allocations: 2.462 MB / 0.8194 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 4.488e-06/0.9661, allocations: 0 / 0.8194 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.01812/0.9842, allocations: 7.516 MB / 0.8267 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.9844, allocations: 218.2 kB / 0.8269 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/0.9888, allocations: 2.374 MB / 0.8293 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004901/0.9893, allocations: 73.7 kB / 0.8293 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/0.9907, allocations: 1.365 MB / 0.8307 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.9919, allocations: 0.8971 MB / 0.8315 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.9923, allocations: 44 kB / 0.8316 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002429/0.9925, allocations: 402.7 kB / 0.832 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004459/0.997, allocations: 1.944 MB / 0.8339 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004834/1.002, allocations: 2.264 MB / 0.8361 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/1.007, allocations: 2.097 MB / 0.8381 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.007, allocations: 4 kB / 0.8381 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.0121/1.019, allocations: 4.903 MB / 0.8429 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/1.019, allocations: 4 kB / 0.8429 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.019, allocations: 4 kB / 0.8429 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.02, allocations: 349.2 kB / 0.8433 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/1.024, allocations: 0.7762 MB / 0.844 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005467/1.029, allocations: 3.902 MB / 0.8478 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/1.033, allocations: 0.5442 MB / 0.8484 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004486/1.033, allocations: 107.9 kB / 0.8485 GB, free: 15.39 MB / 0.67 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 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002389/1.035, allocations: 0.9194 MB / 0.8494 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/1.036, allocations: 264.7 kB / 0.8496 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.05, allocations: 5.572 MB / 0.855 GB, free: 8.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/1.05, allocations: 28 kB / 0.8551 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/1.05, allocations: 4 kB / 0.8551 GB, free: 8.539 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/1.05, allocations: 11.95 kB / 0.8551 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4464/1.496, allocations: 9.299 MB / 0.8642 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.496, allocations: 3.031 kB / 0.8642 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003855/1.5, allocations: 0.7265 MB / 0.8649 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009808/1.501, allocations: 384.4 kB / 0.8652 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005123/1.501, allocations: 81.19 kB / 0.8653 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005354/1.507, allocations: 5.768 MB / 0.871 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.507, allocations: 0.5 kB / 0.871 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.523, allocations: 7.912 MB / 0.8787 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.525, allocations: 0.8506 MB / 0.8795 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004063/1.525, allocations: 56.8 kB / 0.8796 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.528, allocations: 428.3 kB / 0.88 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003966/1.528, allocations: 176.8 kB / 0.8801 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.528, allocations: 101.3 kB / 0.8802 GB, free: 205.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002279/1.53, allocations: 1.732 MB / 0.8819 GB, free: 205 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.53, allocations: 0 / 0.8819 GB, free: 205 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00289/1.533, allocations: 1.022 MB / 0.8829 GB, free: 204.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01647/1.55, allocations: 9.368 MB / 0.8921 GB, free: 201.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.561, allocations: 4.769 MB / 0.8967 GB, free: 200 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.561, allocations: 0 / 0.8967 GB, free: 200 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005784/1.567, allocations: 2.755 MB / 0.8994 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.57, allocations: 0.6182 MB / 0.9 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05445/1.625, allocations: 25.17 MB / 0.9246 GB, free: 186.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002894/1.628, allocations: 2.454 MB / 0.927 GB, free: 185.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004867/1.632, allocations: 1.113 MB / 0.9281 GB, free: 185.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002435/1.635, allocations: 1.437 MB / 0.9295 GB, free: 184.1 MB / 0.67 GB Notification: Performance of SimCode: time 2.304e-06/1.635, allocations: 0 / 0.9295 GB, free: 184.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.742, allocations: 69.05 MB / 0.9969 GB, free: 123.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/1.742, allocations: 273.5 kB / 0.9972 GB, free: 123.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.843/5.585, allocations: 0 / 0.9972 GB, free: 123.5 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: