Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001571/0.001571, 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.001774/0.001774, 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9335/0.9335, allocations: 135.1 MB / 425.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.67 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1797, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5537/0.7335, allocations: 156.7 MB / 0.7375 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03005/0.7636, allocations: 21.73 MB / 0.7587 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.7667, allocations: 58.91 kB / 0.7588 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.7683, allocations: 1.166 MB / 0.7599 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.7697, allocations: 0.8484 MB / 0.7608 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.7709, allocations: 449.4 kB / 0.7612 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.7721, allocations: 1.255 MB / 0.7624 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007492/0.7729, allocations: 0.6858 MB / 0.7631 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.7734, allocations: 0.553 MB / 0.7636 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.7743, allocations: 0.906 MB / 0.7645 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.7745, allocations: 71.94 kB / 0.7646 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.7747, allocations: 116 kB / 0.7647 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.7749, allocations: 316.7 kB / 0.765 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.7753, allocations: 488.8 kB / 0.7654 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.7764, allocations: 1.183 MB / 0.7666 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7764, allocations: 0 / 0.7666 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7764, allocations: 0 / 0.7666 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.7764, allocations: 0 / 0.7666 GB, free: 2.223 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.002276/0.7787, allocations: 1.482 MB / 0.768 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.7787, allocations: 12.03 kB / 0.7681 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.7788, allocations: 78.7 kB / 0.7681 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.779, allocations: 139.2 kB / 0.7683 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/0.7798, allocations: 0.6471 MB / 0.7689 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.78, allocations: 78.67 kB / 0.769 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.7801, allocations: 48 kB / 0.769 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009024/0.781, allocations: 0.5184 MB / 0.7695 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.781, allocations: 3.906 kB / 0.7695 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.7811, allocations: 16 kB / 0.7695 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.7811, allocations: 12 kB / 0.7696 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.7819, allocations: 419.6 kB / 0.77 GB, free: 14.65 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.003297/0.7852, allocations: 2.735 MB / 0.7726 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.7861, allocations: 447.9 kB / 0.7731 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.7868, allocations: 305.3 kB / 0.7733 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.7868, allocations: 4.656 kB / 0.7734 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.7874, allocations: 279 kB / 0.7736 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.124e-06/0.7874, allocations: 0 / 0.7736 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.002645/0.79, allocations: 1.154 MB / 0.7747 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.7901, allocations: 59.41 kB / 0.7748 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.7919, allocations: 1.764 MB / 0.7765 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.792, allocations: 37.7 kB / 0.7766 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.7925, allocations: 0.5287 MB / 0.7771 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.7926, allocations: 138.1 kB / 0.7772 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.7928, allocations: 106.1 kB / 0.7773 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7929, allocations: 329.9 kB / 0.7776 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.7934, allocations: 213 kB / 0.7778 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.794, allocations: 339.2 kB / 0.7782 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009199/0.7949, allocations: 0.5165 MB / 0.7787 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7949, allocations: 0 / 0.7787 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001528/0.7965, allocations: 0.8087 MB / 0.7794 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.7965, allocations: 4 kB / 0.7794 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7965, allocations: 4 kB / 0.7795 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004128/0.7969, allocations: 132.9 kB / 0.7796 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.7973, allocations: 111.8 kB / 0.7797 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.8002, allocations: 2.601 MB / 0.7822 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.8007, allocations: 75.39 kB / 0.7823 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.8007, allocations: 20 kB / 0.7823 GB, free: 1.402 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004806/0.8012, allocations: 394.5 kB / 0.7827 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.8013, allocations: 122.4 kB / 0.7828 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.8016, allocations: 143.7 kB / 0.7829 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.8016, allocations: 4 kB / 0.783 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.8016, allocations: 4 kB / 0.783 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.8016, allocations: 0 / 0.783 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.8038, allocations: 1.487 MB / 0.7844 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8038, allocations: 3.938 kB / 0.7844 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.804, allocations: 47.95 kB / 0.7845 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/0.8044, allocations: 165.6 kB / 0.7846 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.8045, allocations: 8 kB / 0.7846 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/0.808, allocations: 4.031 MB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8081, allocations: 3.938 kB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.8098, allocations: 0.9912 MB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.81, allocations: 215.5 kB / 0.7897 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.8101, allocations: 12 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.8104, allocations: 27.91 kB / 0.7898 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.8105, allocations: 59.86 kB / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.8106, allocations: 15.98 kB / 0.7898 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001307/0.8119, allocations: 1.293 MB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8119, allocations: 3.938 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007101/0.8126, allocations: 183.8 kB / 0.7913 GB, free: 7.816 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,12,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.003141/0.8158, allocations: 1.903 MB / 0.7931 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.8173, allocations: 0.6965 MB / 0.7938 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8173, allocations: 0.875 kB / 0.7938 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.8181, allocations: 0.5283 MB / 0.7943 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000963/0.8191, allocations: 214.9 kB / 0.7945 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.8319, allocations: 9.067 MB / 0.8034 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.8327, allocations: 1.149 MB / 0.8045 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003646/0.8331, allocations: 92.77 kB / 0.8046 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.8335, allocations: 403.3 kB / 0.805 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of SimCode: time 1.102e-06/0.8335, allocations: 0 / 0.805 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.8878, allocations: 20.47 MB / 0.825 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.237/10.13, allocations: 3.781 kB / 0.825 GB, free: 5.277 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)