Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.006289/0.006289, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001245/0.001245, allocations: 198.5 kB / 16.67 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9726/0.9726, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4965, allocations: 80.91 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1838/0.6804, allocations: 157.5 MB / 0.818 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02599/0.7064, allocations: 22.05 MB / 0.8395 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.7091, allocations: 59.62 kB / 0.8395 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.712, allocations: 2.171 MB / 0.8417 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.7145, allocations: 1.468 MB / 0.8431 GB, free: 9.688 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.7162, allocations: 0.6197 MB / 0.8437 GB, free: 9.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00254/0.7188, allocations: 1.937 MB / 0.8456 GB, free: 7.129 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.7205, allocations: 1.114 MB / 0.8467 GB, free: 5.996 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.722, allocations: 0.9308 MB / 0.8476 GB, free: 5.062 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.7239, allocations: 1.584 MB / 0.8491 GB, free: 3.477 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.7242, allocations: 100 kB / 0.8492 GB, free: 3.379 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005347/0.7248, allocations: 139.9 kB / 0.8494 GB, free: 3.242 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005872/0.7254, allocations: 0.5589 MB / 0.8499 GB, free: 2.68 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.7264, allocations: 0.7991 MB / 0.8507 GB, free: 1.875 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.7282, allocations: 1.93 MB / 0.8526 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.7282, allocations: 4 kB / 0.8526 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7282, allocations: 0 / 0.8526 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.169e-05/0.7283, allocations: 3.938 kB / 0.8526 GB, free: 15.93 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003529/0.7318, allocations: 2.349 MB / 0.8549 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.7319, allocations: 16.02 kB / 0.8549 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.732, allocations: 106.7 kB / 0.855 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.7324, allocations: 245.1 kB / 0.8552 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.734, allocations: 1.035 MB / 0.8562 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.7342, allocations: 98.92 kB / 0.8563 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.7343, allocations: 68 kB / 0.8564 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.7356, allocations: 0.7806 MB / 0.8572 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.7357, allocations: 4 kB / 0.8572 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.7357, allocations: 31.92 kB / 0.8572 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.7358, allocations: 16 kB / 0.8572 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.7369, allocations: 0.6336 MB / 0.8578 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00547/0.7424, allocations: 3.713 MB / 0.8615 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.7439, allocations: 0.744 MB / 0.8622 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.7447, allocations: 426.3 kB / 0.8626 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.651e-05/0.7448, allocations: 12.55 kB / 0.8626 GB, free: 5.234 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007747/0.7456, allocations: 452 kB / 0.863 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 4.338e-06/0.7456, allocations: 0 / 0.863 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.003906/0.7495, allocations: 1.827 MB / 0.8648 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.7495, allocations: 64.06 kB / 0.8649 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4579/1.207, allocations: 3.363 MB / 0.8682 GB, free: 51.42 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002172/1.208, allocations: 43.42 kB / 0.8682 GB, free: 51.39 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000809/1.209, allocations: 0.9261 MB / 0.8691 GB, free: 51.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/1.209, allocations: 238 kB / 0.8693 GB, free: 51.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/1.209, allocations: 136.8 kB / 0.8695 GB, free: 51.27 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/1.209, allocations: 337 kB / 0.8698 GB, free: 50.97 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007264/1.21, allocations: 325.3 kB / 0.8701 GB, free: 50.97 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/1.211, allocations: 470 kB / 0.8705 GB, free: 50.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/1.212, allocations: 0.7493 MB / 0.8713 GB, free: 50.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.212, allocations: 0.8438 kB / 0.8713 GB, free: 50.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00257/1.215, allocations: 1.255 MB / 0.8725 GB, free: 50.56 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.215, allocations: 7.594 kB / 0.8725 GB, free: 50.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.215, allocations: 3 kB / 0.8725 GB, free: 50.56 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007686/1.215, allocations: 263.8 kB / 0.8728 GB, free: 50.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/1.216, allocations: 137.2 kB / 0.8729 GB, free: 50.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004598/1.22, allocations: 4.749 MB / 0.8775 GB, free: 47.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008488/1.221, allocations: 110.8 kB / 0.8776 GB, free: 47.61 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/1.221, allocations: 29.56 kB / 0.8777 GB, free: 47.61 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001014/1.222, allocations: 0.6045 MB / 0.8783 GB, free: 47.49 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/1.223, allocations: 210.8 kB / 0.8785 GB, free: 47.38 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/1.223, allocations: 263.6 kB / 0.8787 GB, free: 47.35 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/1.223, allocations: 10.72 kB / 0.8787 GB, free: 47.35 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/1.223, allocations: 3.469 kB / 0.8787 GB, free: 47.35 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/1.223, allocations: 8.547 kB / 0.8787 GB, free: 47.34 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004359/1.228, allocations: 2.401 MB / 0.8811 GB, free: 46.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.228, allocations: 0 / 0.8811 GB, free: 46.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/1.228, allocations: 75.22 kB / 0.8812 GB, free: 46.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006382/1.229, allocations: 251.3 kB / 0.8814 GB, free: 46.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.303e-05/1.229, allocations: 20.67 kB / 0.8814 GB, free: 46.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/1.233, allocations: 4.744 MB / 0.886 GB, free: 44.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/1.233, allocations: 1.188 kB / 0.886 GB, free: 44.05 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003012/1.236, allocations: 1.631 MB / 0.8876 GB, free: 43.75 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/1.237, allocations: 325.4 kB / 0.8879 GB, free: 43.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/1.237, allocations: 23.14 kB / 0.888 GB, free: 43.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/1.237, allocations: 38.7 kB / 0.888 GB, free: 43.53 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/1.238, allocations: 73.7 kB / 0.8881 GB, free: 43.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/1.238, allocations: 27.47 kB / 0.8881 GB, free: 43.53 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00353/1.241, allocations: 2.46 MB / 0.8905 GB, free: 43.39 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/1.241, allocations: 0.625 kB / 0.8905 GB, free: 43.39 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001196/1.242, allocations: 298.5 kB / 0.8908 GB, free: 43.36 MB / 0.6856 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.003896/1.246, allocations: 2.57 MB / 0.8933 GB, free: 42.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002057/1.248, allocations: 1.095 MB / 0.8944 GB, free: 42.21 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.248, allocations: 0 / 0.8944 GB, free: 42.21 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.249, allocations: 0.7009 MB / 0.8951 GB, free: 41.97 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.251, allocations: 309.5 kB / 0.8953 GB, free: 41.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.268, allocations: 14.1 MB / 0.9091 GB, free: 38.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.269, allocations: 1.551 MB / 0.9106 GB, free: 38.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005495/1.27, allocations: 157.7 kB / 0.9108 GB, free: 38.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/1.271, allocations: 0.7501 MB / 0.9115 GB, free: 38.07 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/1.271, allocations: 0 / 0.9115 GB, free: 38.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/1.331, allocations: 34.19 MB / 0.9449 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.59, allocations: 11.06 kB / 0.9449 GB, free: 16.24 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)