Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.TestCase11,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11",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.001395/0.001395, allocations: 108 kB / 15.6 MB, free: 132 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.001273/0.001273, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9986/0.9986, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002593, allocations: 60.91 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1913, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.4652/0.6566, allocations: 158.3 MB / 0.739 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0292/0.6858, allocations: 22.23 MB / 0.7607 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.6887, allocations: 63.69 kB / 0.7608 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.6916, allocations: 1.971 MB / 0.7627 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.6942, allocations: 1.331 MB / 0.764 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.6961, allocations: 0.6862 MB / 0.7647 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.6985, allocations: 1.946 MB / 0.7666 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.7001, allocations: 1.153 MB / 0.7677 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.7014, allocations: 0.8917 MB / 0.7686 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.7034, allocations: 1.44 MB / 0.77 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/0.7038, allocations: 108 kB / 0.7701 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005696/0.7044, allocations: 160 kB / 0.7702 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.7049, allocations: 0.5156 MB / 0.7707 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009533/0.7059, allocations: 0.8341 MB / 0.7716 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.708, allocations: 1.922 MB / 0.7734 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.708, allocations: 4 kB / 0.7734 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/0.708, allocations: 0 / 0.7734 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.039e-05/0.7081, allocations: 0 / 0.7734 GB, free: 11.21 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004249/0.7124, allocations: 2.385 MB / 0.7758 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.7124, allocations: 12.03 kB / 0.7758 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.7127, allocations: 123 kB / 0.7759 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.7132, allocations: 241.9 kB / 0.7761 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.7151, allocations: 1.05 MB / 0.7772 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.7153, allocations: 107.6 kB / 0.7773 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.7155, allocations: 79.98 kB / 0.7773 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.7171, allocations: 0.869 MB / 0.7782 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.7171, allocations: 0 / 0.7782 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/0.7172, allocations: 32 kB / 0.7782 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.7172, allocations: 20 kB / 0.7782 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.7187, allocations: 0.6518 MB / 0.7789 GB, free: 5.473 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.005758/0.7244, allocations: 4.181 MB / 0.783 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.7259, allocations: 0.7065 MB / 0.7836 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/0.7267, allocations: 419.2 kB / 0.784 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.7268, allocations: 8.656 kB / 0.7841 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008218/0.7276, allocations: 440.1 kB / 0.7845 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.785e-06/0.7276, allocations: 0 / 0.7845 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.006113/0.7337, allocations: 2.103 MB / 0.7865 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.7338, allocations: 89.77 kB / 0.7866 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/0.7374, allocations: 3.203 MB / 0.7897 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.7375, allocations: 49.7 kB / 0.7898 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000813/0.7383, allocations: 0.9607 MB / 0.7907 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.7386, allocations: 252.4 kB / 0.791 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.7389, allocations: 150.7 kB / 0.7911 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.739, allocations: 341.9 kB / 0.7914 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007021/0.7397, allocations: 317.8 kB / 0.7917 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.7405, allocations: 469.3 kB / 0.7922 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.7419, allocations: 0.7265 MB / 0.7929 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.7419, allocations: 8 kB / 0.7929 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00249/0.7444, allocations: 1.238 MB / 0.7941 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.7445, allocations: 4 kB / 0.7941 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7445, allocations: 4 kB / 0.7941 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.7455, allocations: 330.9 kB / 0.7944 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.746, allocations: 127.8 kB / 0.7946 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006026/0.752, allocations: 4.07 MB / 0.7985 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/0.7529, allocations: 103.2 kB / 0.7986 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.753, allocations: 28 kB / 0.7987 GB, free: 0.5273 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.754, allocations: 0.6002 MB / 0.7992 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/0.7544, allocations: 205.3 kB / 0.7994 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004907/0.7549, allocations: 253.5 kB / 0.7997 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.7549, allocations: 11.98 kB / 0.7997 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.7549, allocations: 0 / 0.7997 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.7549, allocations: 3.984 kB / 0.7997 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.7592, allocations: 2.409 MB / 0.802 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7592, allocations: 0 / 0.802 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.7595, allocations: 71.83 kB / 0.8021 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009143/0.7604, allocations: 339.5 kB / 0.8024 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.7605, allocations: 19.98 kB / 0.8025 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007307/0.7678, allocations: 5.555 MB / 0.8079 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7678, allocations: 0 / 0.8079 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.771, allocations: 1.567 MB / 0.8094 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/0.7716, allocations: 314.2 kB / 0.8097 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.7719, allocations: 28.05 kB / 0.8097 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005586/0.7725, allocations: 47.95 kB / 0.8098 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.7727, allocations: 92.52 kB / 0.8099 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.7728, allocations: 27.98 kB / 0.8099 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002802/0.7756, allocations: 2.337 MB / 0.8122 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7756, allocations: 0 / 0.8122 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001312/0.777, allocations: 323.4 kB / 0.8125 GB, free: 1.93 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004308/0.7813, allocations: 2.501 MB / 0.8149 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.7838, allocations: 1.097 MB / 0.816 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.7838, allocations: 0 / 0.816 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.7852, allocations: 0.7778 MB / 0.8168 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.7867, allocations: 306.2 kB / 0.8171 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/0.8089, allocations: 15.71 MB / 0.8324 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.8103, allocations: 1.528 MB / 0.8339 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005489/0.8109, allocations: 139.1 kB / 0.834 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000874/0.8118, allocations: 0.7648 MB / 0.8348 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of SimCode: time 8.61e-07/0.8118, allocations: 0 / 0.8348 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3501/1.162, allocations: 35.3 MB / 0.8693 GB, free: 219.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.95, allocations: 8.625 kB / 0.8693 GB, free: 219.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)