Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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: 115.3 kB / 15.34 MB, free: 0.5117 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.001314/0.001314, allocations: 195.1 kB / 16.25 MB, free: 6.637 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 67.86 kB / 0.505 GB, free: 5.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1887, allocations: 80.93 MB / 0.584 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4583/0.647, allocations: 154.5 MB / 0.7349 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02576/0.6728, allocations: 21.48 MB / 0.7559 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.6753, allocations: 49.97 kB / 0.7559 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.677, allocations: 1.137 MB / 0.7571 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.6787, allocations: 0.8216 MB / 0.7579 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.6801, allocations: 379.4 kB / 0.7582 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001807/0.6819, allocations: 1.255 MB / 0.7594 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.6831, allocations: 0.6927 MB / 0.7601 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.6841, allocations: 0.5568 MB / 0.7607 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.6854, allocations: 0.9489 MB / 0.7616 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.6856, allocations: 71.98 kB / 0.7617 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.686, allocations: 111.9 kB / 0.7618 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.6863, allocations: 332.8 kB / 0.7621 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.6868, allocations: 496.8 kB / 0.7626 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.688, allocations: 1.176 MB / 0.7637 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6881, allocations: 4 kB / 0.7637 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6881, allocations: 0 / 0.7637 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.073e-05/0.6881, allocations: 0 / 0.7637 GB, free: 5.164 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002596/0.6907, allocations: 1.486 MB / 0.7652 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6908, allocations: 8.031 kB / 0.7652 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.6909, allocations: 78.72 kB / 0.7652 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.6911, allocations: 139.2 kB / 0.7654 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.692, allocations: 0.6508 MB / 0.766 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.6921, allocations: 74.69 kB / 0.7661 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.6922, allocations: 55.89 kB / 0.7661 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.6932, allocations: 0.5145 MB / 0.7666 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.6932, allocations: 3.938 kB / 0.7666 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.6933, allocations: 20 kB / 0.7667 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.6933, allocations: 11.94 kB / 0.7667 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.6941, allocations: 419.6 kB / 0.7671 GB, free: 1.59 MB / 0.5762 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.00357/0.6977, allocations: 2.796 MB / 0.7698 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.6987, allocations: 454 kB / 0.7702 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.6993, allocations: 289.3 kB / 0.7705 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.6994, allocations: 8.594 kB / 0.7705 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/0.6999, allocations: 294.1 kB / 0.7708 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 2.394e-06/0.7, allocations: 3.938 kB / 0.7708 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.00292/0.7029, allocations: 1.235 MB / 0.772 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.703, allocations: 63.41 kB / 0.7721 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.7047, allocations: 1.748 MB / 0.7738 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.7048, allocations: 37.7 kB / 0.7738 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.7052, allocations: 0.518 MB / 0.7743 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.7054, allocations: 153.8 kB / 0.7745 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.7055, allocations: 94.25 kB / 0.7746 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.7057, allocations: 330 kB / 0.7749 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.7061, allocations: 216.9 kB / 0.7751 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.7067, allocations: 328.9 kB / 0.7754 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.7076, allocations: 0.514 MB / 0.7759 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7076, allocations: 0 / 0.7759 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001627/0.7092, allocations: 0.8415 MB / 0.7767 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.7093, allocations: 4 kB / 0.7767 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7093, allocations: 4 kB / 0.7767 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.7098, allocations: 193.2 kB / 0.7769 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.7102, allocations: 99.86 kB / 0.777 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.7136, allocations: 2.992 MB / 0.7799 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.7141, allocations: 87.45 kB / 0.78 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.7142, allocations: 23.94 kB / 0.78 GB, free: 3.738 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004712/0.7147, allocations: 383.3 kB / 0.7804 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.7148, allocations: 110.6 kB / 0.7805 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.715, allocations: 147.7 kB / 0.7806 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.715, allocations: 4 kB / 0.7806 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.7151, allocations: 4 kB / 0.7807 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.7151, allocations: 4 kB / 0.7807 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.7175, allocations: 1.566 MB / 0.7822 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7175, allocations: 0 / 0.7822 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.7177, allocations: 47.91 kB / 0.7822 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/0.7182, allocations: 197.6 kB / 0.7824 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.7183, allocations: 11.94 kB / 0.7824 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004335/0.7226, allocations: 4.561 MB / 0.7869 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7226, allocations: 0 / 0.7869 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.7245, allocations: 1.061 MB / 0.7879 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.7248, allocations: 219.5 kB / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.725, allocations: 12 kB / 0.7881 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.7253, allocations: 31.95 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.7254, allocations: 51.92 kB / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.7255, allocations: 16 kB / 0.7882 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001386/0.7269, allocations: 1.284 MB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7269, allocations: 0 / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008111/0.7277, allocations: 207.7 kB / 0.7897 GB, free: 9.438 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.003254/0.731, allocations: 1.994 MB / 0.7916 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.7327, allocations: 0.7641 MB / 0.7924 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7327, allocations: 0 / 0.7924 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008942/0.7336, allocations: 0.5444 MB / 0.7929 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.7346, allocations: 197.6 kB / 0.7931 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.7488, allocations: 9.404 MB / 0.8023 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.7498, allocations: 1.149 MB / 0.8034 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003391/0.7501, allocations: 84.78 kB / 0.8035 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.7506, allocations: 403.3 kB / 0.8039 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.7506, allocations: 0 / 0.8039 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04302/0.7937, allocations: 20.56 MB / 0.824 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.794, allocations: 273.8 kB / 0.8242 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/3.047, allocations: 3.875 kB / 0.8242 GB, free: 6.027 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)