Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.005098/0.005098, allocations: 96.56 kB / 15.73 MB, free: 5.996 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.001971/0.001971, allocations: 186.7 kB / 16.67 MB, free: 5.926 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9967/0.9967, allocations: 135.5 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4852, allocations: 81.02 MB / 0.6649 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.2062/0.6915, allocations: 157.2 MB / 0.8184 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03188/0.7234, allocations: 21.99 MB / 0.8399 GB, free: 13.02 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.7261, allocations: 55.69 kB / 0.8399 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.7293, allocations: 2.155 MB / 0.842 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.7321, allocations: 1.417 MB / 0.8434 GB, free: 9.379 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.7342, allocations: 0.5834 MB / 0.844 GB, free: 8.801 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003213/0.7374, allocations: 1.828 MB / 0.8458 GB, free: 6.969 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.7394, allocations: 1.087 MB / 0.8468 GB, free: 5.863 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.7412, allocations: 0.8802 MB / 0.8477 GB, free: 4.98 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.7435, allocations: 1.534 MB / 0.8492 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003171/0.7439, allocations: 92 kB / 0.8493 GB, free: 3.355 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.7443, allocations: 131.9 kB / 0.8494 GB, free: 3.227 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005525/0.7449, allocations: 0.5355 MB / 0.8499 GB, free: 2.688 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008678/0.7458, allocations: 0.7641 MB / 0.8507 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.7483, allocations: 1.872 MB / 0.8525 GB, free: 40 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7483, allocations: 0 / 0.8525 GB, free: 40 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7483, allocations: 4 kB / 0.8525 GB, free: 36 kB / 0.67 GB Notification: Performance of Transformations before backend: time 5.123e-05/0.7484, allocations: 0 / 0.8525 GB, free: 36 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004324/0.7527, allocations: 2.35 MB / 0.8548 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.7528, allocations: 12.03 kB / 0.8548 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.753, allocations: 106.6 kB / 0.8549 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.7534, allocations: 243 kB / 0.8552 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.7551, allocations: 1.028 MB / 0.8562 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.7553, allocations: 94.97 kB / 0.8563 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.7554, allocations: 68 kB / 0.8563 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.7569, allocations: 0.729 MB / 0.857 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.757, allocations: 4 kB / 0.857 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.7571, allocations: 20 kB / 0.8571 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.7571, allocations: 19.94 kB / 0.8571 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.7584, allocations: 0.5946 MB / 0.8577 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005994/0.7644, allocations: 3.502 MB / 0.8611 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.7662, allocations: 0.7076 MB / 0.8618 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008686/0.7671, allocations: 410.3 kB / 0.8622 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.09e-05/0.7672, allocations: 12.55 kB / 0.8622 GB, free: 5.727 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009221/0.7681, allocations: 434.8 kB / 0.8626 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 4.178e-06/0.7681, allocations: 4 kB / 0.8626 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.004885/0.773, allocations: 1.801 MB / 0.8643 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.7731, allocations: 63.95 kB / 0.8644 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/0.7776, allocations: 3.301 MB / 0.8676 GB, free: 40 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.4006/1.178, allocations: 40.34 kB / 0.8677 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/1.179, allocations: 0.8944 MB / 0.8685 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/1.18, allocations: 239.5 kB / 0.8688 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/1.18, allocations: 131.8 kB / 0.8689 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/1.18, allocations: 339.1 kB / 0.8692 GB, free: 193 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008364/1.181, allocations: 306.9 kB / 0.8695 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/1.182, allocations: 434.9 kB / 0.8699 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/1.184, allocations: 0.7172 MB / 0.8706 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.184, allocations: 0.8125 kB / 0.8706 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003101/1.187, allocations: 1.222 MB / 0.8718 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/1.187, allocations: 6.344 kB / 0.8718 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.187, allocations: 4.297 kB / 0.8718 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008595/1.188, allocations: 256.1 kB / 0.8721 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/1.188, allocations: 137.8 kB / 0.8722 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/1.194, allocations: 4.758 MB / 0.8769 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/1.195, allocations: 95.09 kB / 0.8769 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.195, allocations: 26.08 kB / 0.877 GB, free: 188 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001366/1.197, allocations: 0.6031 MB / 0.8776 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/1.197, allocations: 216.4 kB / 0.8778 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/1.198, allocations: 253.3 kB / 0.878 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.198, allocations: 15.14 kB / 0.878 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/1.198, allocations: 3.812 kB / 0.878 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.198, allocations: 6.281 kB / 0.878 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/1.203, allocations: 2.341 MB / 0.8803 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.203, allocations: 0 / 0.8803 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/1.204, allocations: 68.86 kB / 0.8804 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008563/1.204, allocations: 249.5 kB / 0.8806 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.205, allocations: 22.27 kB / 0.8806 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00487/1.209, allocations: 4.758 MB / 0.8853 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.209, allocations: 5.375 kB / 0.8853 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/1.213, allocations: 1.587 MB / 0.8868 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007704/1.214, allocations: 325.2 kB / 0.8871 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/1.214, allocations: 22.7 kB / 0.8872 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/1.215, allocations: 37.5 kB / 0.8872 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/1.215, allocations: 73.55 kB / 0.8873 GB, free: 181 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/1.215, allocations: 24.77 kB / 0.8873 GB, free: 181 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003881/1.219, allocations: 2.418 MB / 0.8897 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.353e-06/1.219, allocations: 1.25 kB / 0.8897 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002188/1.221, allocations: 287.1 kB / 0.8899 GB, free: 179.9 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.006414/1.228, allocations: 2.532 MB / 0.8924 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003255/1.231, allocations: 1.065 MB / 0.8934 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.231, allocations: 0 / 0.8934 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.233, allocations: 0.7006 MB / 0.8941 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/1.235, allocations: 279.5 kB / 0.8944 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/1.26, allocations: 13.79 MB / 0.9079 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009809/1.261, allocations: 1.52 MB / 0.9094 GB, free: 168.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005105/1.262, allocations: 154.3 kB / 0.9095 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/1.262, allocations: 0.7062 MB / 0.9102 GB, free: 167.2 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/1.262, allocations: 0 / 0.9102 GB, free: 167.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07422/1.337, allocations: 32.96 MB / 0.9424 GB, free: 134.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/15.2, allocations: 8.047 kB / 0.9424 GB, free: 134.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)