Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.VDI6007.TestCase6,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.001163/0.001163, 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.001098/0.001098, allocations: 193.1 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8698/0.8698, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 64.45 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1408, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.5346/0.6754, allocations: 157 MB / 0.7378 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03095/0.7064, allocations: 21.86 MB / 0.7591 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004152/0.7106, allocations: 57.56 kB / 0.7592 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.7134, allocations: 1.341 MB / 0.7605 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.7162, allocations: 0.973 MB / 0.7614 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.7182, allocations: 0.5018 MB / 0.7619 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002272/0.7204, allocations: 1.434 MB / 0.7633 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.7224, allocations: 0.784 MB / 0.7641 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.7242, allocations: 0.6464 MB / 0.7647 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.7265, allocations: 1.109 MB / 0.7658 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.7268, allocations: 72 kB / 0.7659 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.7275, allocations: 120 kB / 0.766 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005339/0.728, allocations: 368.5 kB / 0.7664 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000996/0.7291, allocations: 0.551 MB / 0.7669 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.7309, allocations: 1.351 MB / 0.7682 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7309, allocations: 0 / 0.7682 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7309, allocations: 4 kB / 0.7682 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.7309, allocations: 0 / 0.7682 GB, free: 0.6172 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002612/0.7336, allocations: 1.683 MB / 0.7699 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7336, allocations: 12.03 kB / 0.7699 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.7337, allocations: 94.69 kB / 0.77 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.734, allocations: 163 kB / 0.7701 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.7349, allocations: 0.7395 MB / 0.7708 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.735, allocations: 78.69 kB / 0.7709 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/0.7351, allocations: 59.98 kB / 0.771 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.7362, allocations: 0.5691 MB / 0.7715 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.7362, allocations: 0 / 0.7715 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.7362, allocations: 16 kB / 0.7715 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.7363, allocations: 12 kB / 0.7716 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/0.7372, allocations: 451.6 kB / 0.772 GB, free: 12.62 MB / 0.5919 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.004034/0.7412, allocations: 3.01 MB / 0.7749 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.7423, allocations: 0.4997 MB / 0.7754 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.7429, allocations: 318.1 kB / 0.7757 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.7429, allocations: 8.359 kB / 0.7757 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005887/0.7435, allocations: 333.1 kB / 0.776 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=52): time 2.375e-06/0.7435, allocations: 4 kB / 0.776 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.003021/0.7466, allocations: 1.34 MB / 0.7774 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.7466, allocations: 67.77 kB / 0.7774 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.7487, allocations: 2.108 MB / 0.7795 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.7487, allocations: 45.69 kB / 0.7795 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/0.7492, allocations: 0.6207 MB / 0.7801 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.7494, allocations: 169.6 kB / 0.7803 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.7495, allocations: 106.3 kB / 0.7804 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7497, allocations: 330 kB / 0.7807 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.7502, allocations: 237.2 kB / 0.7809 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.7508, allocations: 345.9 kB / 0.7813 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/0.7517, allocations: 0.5466 MB / 0.7818 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7518, allocations: 4 kB / 0.7818 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001715/0.7535, allocations: 0.9061 MB / 0.7827 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7535, allocations: 10.44 kB / 0.7827 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7535, allocations: 4 kB / 0.7827 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005313/0.7541, allocations: 207.2 kB / 0.7829 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.7545, allocations: 103.9 kB / 0.783 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/0.758, allocations: 3.047 MB / 0.786 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.7586, allocations: 79.33 kB / 0.786 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.7587, allocations: 24 kB / 0.7861 GB, free: 13.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006522/0.7594, allocations: 443.8 kB / 0.7865 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.7595, allocations: 134.2 kB / 0.7866 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.7598, allocations: 169.9 kB / 0.7868 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.7598, allocations: 4 kB / 0.7868 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.7598, allocations: 4 kB / 0.7868 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.7598, allocations: 3.984 kB / 0.7868 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.7624, allocations: 1.738 MB / 0.7885 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7624, allocations: 0 / 0.7885 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.7626, allocations: 55.89 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.7631, allocations: 202.1 kB / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.7632, allocations: 11.98 kB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/0.7674, allocations: 4.601 MB / 0.7932 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7674, allocations: 4.062 kB / 0.7932 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.7694, allocations: 1.166 MB / 0.7944 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.7698, allocations: 243.3 kB / 0.7946 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-05/0.7699, allocations: 15.98 kB / 0.7946 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/0.7702, allocations: 31.97 kB / 0.7947 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.7704, allocations: 56.36 kB / 0.7947 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.7704, allocations: 19.98 kB / 0.7947 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001608/0.772, allocations: 1.545 MB / 0.7962 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.9e-07/0.772, allocations: 0 / 0.7962 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008124/0.7729, allocations: 219.7 kB / 0.7964 GB, free: 2.551 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003216/0.7761, allocations: 2.105 MB / 0.7985 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.7778, allocations: 0.804 MB / 0.7993 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7778, allocations: 0 / 0.7993 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.7787, allocations: 0.5821 MB / 0.7999 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.7798, allocations: 224.8 kB / 0.8001 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.7932, allocations: 10.58 MB / 0.8104 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.7941, allocations: 1.246 MB / 0.8116 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.7945, allocations: 113 kB / 0.8117 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/0.795, allocations: 483.2 kB / 0.8122 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of SimCode: time 1.262e-06/0.795, allocations: 0 / 0.8122 GB, free: 2.117 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7894/1.584, allocations: 23.67 MB / 0.8353 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.667/11.25, allocations: 7.312 kB / 0.8353 GB, free: 10.74 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)