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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0013/0.0013, allocations: 194.8 kB / 16.14 MB, free: 6.656 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.957/0.957, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.52 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.157, allocations: 80.92 MB / 0.5838 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5358/0.6928, allocations: 158.4 MB / 0.7385 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03655/0.7294, allocations: 26.61 MB / 0.7645 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004112/0.7336, allocations: 67.62 kB / 0.7645 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.7366, allocations: 0.8984 MB / 0.7654 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/0.7423, allocations: 1.514 MB / 0.7669 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004974/0.7473, allocations: 1.501 MB / 0.7684 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007653/0.755, allocations: 5.06 MB / 0.7733 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00612/0.7611, allocations: 3.829 MB / 0.7771 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.7643, allocations: 1.665 MB / 0.7787 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/0.7678, allocations: 2.288 MB / 0.7809 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.769, allocations: 244 kB / 0.7811 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.7719, allocations: 0.8389 MB / 0.782 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.7735, allocations: 0.9458 MB / 0.7829 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003464/0.777, allocations: 1.806 MB / 0.7847 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006947/0.7839, allocations: 5.511 MB / 0.79 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.784, allocations: 0 / 0.79 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.784, allocations: 0 / 0.79 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000183/0.7842, allocations: 4 kB / 0.79 GB, free: 9.875 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01069/0.7949, allocations: 4.485 MB / 0.7944 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7949, allocations: 16.02 kB / 0.7944 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005817/0.7955, allocations: 447.1 kB / 0.7949 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.809, allocations: 2.776 MB / 0.7976 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/0.8135, allocations: 2.269 MB / 0.7998 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.8137, allocations: 238.5 kB / 0.8 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006883/0.8144, allocations: 316 kB / 0.8003 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.8254, allocations: 5.144 MB / 0.8053 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/0.8255, allocations: 4 kB / 0.8053 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/0.8258, allocations: 136 kB / 0.8055 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-05/0.8259, allocations: 83.92 kB / 0.8055 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.8402, allocations: 6.291 MB / 0.8117 GB, free: 3.434 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.02894/0.8692, allocations: 14.51 MB / 0.8259 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009841/0.879, allocations: 4.518 MB / 0.8303 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005351/0.8844, allocations: 2.45 MB / 0.8327 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.8855, allocations: 0.6736 MB / 0.8333 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006006/0.8915, allocations: 2.469 MB / 0.8357 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 6.552e-06/0.8916, allocations: 0 / 0.8357 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.01933/0.9109, allocations: 7.532 MB / 0.8431 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.9111, allocations: 214 kB / 0.8433 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.9148, allocations: 2.386 MB / 0.8456 GB, free: 15.79 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005243/0.9154, allocations: 73.7 kB / 0.8457 GB, free: 15.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.9167, allocations: 1.365 MB / 0.847 GB, free: 14.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.9178, allocations: 0.8971 MB / 0.8479 GB, free: 13.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.9192, allocations: 480.4 kB / 0.8484 GB, free: 12.94 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.9193, allocations: 305.1 kB / 0.8487 GB, free: 12.64 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004565/0.9238, allocations: 1.948 MB / 0.8506 GB, free: 10.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004892/0.9288, allocations: 2.264 MB / 0.8528 GB, free: 8.332 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009476/0.9383, allocations: 4.199 MB / 0.8569 GB, free: 4.043 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.9383, allocations: 4 kB / 0.8569 GB, free: 4.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.334/1.272, allocations: 4.91 MB / 0.8617 GB, free: 215 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/1.272, allocations: 10.03 kB / 0.8617 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/1.272, allocations: 5.594 kB / 0.8617 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/1.273, allocations: 341.2 kB / 0.862 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/1.277, allocations: 0.7719 MB / 0.8628 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/1.281, allocations: 3.905 MB / 0.8666 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/1.285, allocations: 0.5424 MB / 0.8671 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004633/1.285, allocations: 105.3 kB / 0.8672 GB, free: 213.5 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 ($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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001732/1.287, allocations: 0.923 MB / 0.8681 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/1.288, allocations: 273.9 kB / 0.8684 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/1.299, allocations: 5.546 MB / 0.8738 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.299, allocations: 26.66 kB / 0.8738 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.299, allocations: 9.875 kB / 0.8738 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/1.299, allocations: 13.03 kB / 0.8738 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/1.314, allocations: 9.288 MB / 0.8829 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/1.314, allocations: 0 / 0.8829 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003142/1.317, allocations: 0.7371 MB / 0.8836 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009174/1.318, allocations: 386.5 kB / 0.884 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/1.318, allocations: 77.17 kB / 0.8841 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/1.323, allocations: 5.786 MB / 0.8897 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.323, allocations: 2.844 kB / 0.8897 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/1.339, allocations: 7.915 MB / 0.8974 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/1.341, allocations: 0.8022 MB / 0.8982 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005208/1.341, allocations: 55.5 kB / 0.8983 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/1.344, allocations: 416.1 kB / 0.8987 GB, free: 200.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004752/1.345, allocations: 177.4 kB / 0.8988 GB, free: 200.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002538/1.345, allocations: 97.52 kB / 0.8989 GB, free: 200.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002454/1.348, allocations: 1.752 MB / 0.9006 GB, free: 199.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.348, allocations: 0 / 0.9006 GB, free: 199.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002733/1.35, allocations: 1.017 MB / 0.9016 GB, free: 199.4 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 (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 {(3,25,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.01848/1.369, allocations: 9.415 MB / 0.9108 GB, free: 196 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.38, allocations: 4.756 MB / 0.9155 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.38, allocations: 4.062 kB / 0.9155 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005544/1.385, allocations: 2.758 MB / 0.9182 GB, free: 193.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.388, allocations: 0.6288 MB / 0.9188 GB, free: 193.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05389/1.442, allocations: 33.38 MB / 0.9514 GB, free: 169.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002773/1.445, allocations: 2.463 MB / 0.9538 GB, free: 166.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006548/1.451, allocations: 1.111 MB / 0.9549 GB, free: 165.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003282/1.455, allocations: 1.436 MB / 0.9563 GB, free: 164.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.783e-06/1.455, allocations: 0 / 0.9563 GB, free: 164.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/1.575, allocations: 67.18 MB / 1.022 GB, free: 97.41 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/1.575, allocations: 295.3 kB / 1.022 GB, free: 97.03 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.912/5.487, allocations: 4 kB / 1.022 GB, free: 97.02 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/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)