Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001111/0.001111, 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.001134/0.001134, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 279 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9103/0.9103, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 93.73 kB / 0.5953 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1378, allocations: 86.98 MB / 0.6803 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4173/0.5551, allocations: 156.7 MB / 0.8333 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.5776, allocations: 21.74 MB / 0.8546 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.5798, allocations: 51 kB / 0.8546 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.5815, allocations: 1.166 MB / 0.8558 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.5833, allocations: 0.8528 MB / 0.8566 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.5846, allocations: 445.4 kB / 0.857 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001494/0.5862, allocations: 1.246 MB / 0.8582 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.5873, allocations: 0.6845 MB / 0.8589 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.5883, allocations: 0.5441 MB / 0.8594 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.5896, allocations: 0.9208 MB / 0.8603 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.5898, allocations: 66.69 kB / 0.8604 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.5902, allocations: 113.2 kB / 0.8605 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003757/0.5906, allocations: 314.5 kB / 0.8608 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007061/0.5913, allocations: 0.4885 MB / 0.8613 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.5925, allocations: 1.182 MB / 0.8624 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5925, allocations: 0 / 0.8624 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5925, allocations: 3.938 kB / 0.8624 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.5926, allocations: 0 / 0.8624 GB, free: 4.723 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.002383/0.5949, allocations: 1.482 MB / 0.8639 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.595, allocations: 9.969 kB / 0.8639 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.085e-05/0.5951, allocations: 82.47 kB / 0.864 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.5953, allocations: 133.9 kB / 0.8641 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.596, allocations: 0.6605 MB / 0.8647 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.5962, allocations: 67.78 kB / 0.8648 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.5963, allocations: 48.44 kB / 0.8649 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009233/0.5972, allocations: 0.5232 MB / 0.8654 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.5972, allocations: 0 / 0.8654 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.5973, allocations: 16.28 kB / 0.8654 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5973, allocations: 10.84 kB / 0.8654 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008071/0.5981, allocations: 421.7 kB / 0.8658 GB, free: 2.254 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.003408/0.6015, allocations: 2.735 MB / 0.8685 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/0.6024, allocations: 445.9 kB / 0.8689 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.6031, allocations: 305.4 kB / 0.8692 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.6031, allocations: 6.094 kB / 0.8692 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005194/0.6036, allocations: 282.9 kB / 0.8695 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.6036, allocations: 0 / 0.8695 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.002536/0.6062, allocations: 1.15 MB / 0.8706 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.6063, allocations: 63.81 kB / 0.8706 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.6079, allocations: 1.761 MB / 0.8724 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.608, allocations: 36.05 kB / 0.8724 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.6084, allocations: 0.5243 MB / 0.8729 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.6085, allocations: 142.4 kB / 0.873 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.6087, allocations: 102.2 kB / 0.8731 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6088, allocations: 326.8 kB / 0.8735 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.6093, allocations: 217.6 kB / 0.8737 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.6098, allocations: 338.9 kB / 0.874 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008912/0.6107, allocations: 0.5149 MB / 0.8745 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.6108, allocations: 6.812 kB / 0.8745 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001518/0.6123, allocations: 0.8086 MB / 0.8753 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6123, allocations: 9.219 kB / 0.8753 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6123, allocations: 4.688 kB / 0.8753 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.6127, allocations: 138.2 kB / 0.8754 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.6131, allocations: 104.6 kB / 0.8755 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.616, allocations: 2.611 MB / 0.8781 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.6164, allocations: 77.7 kB / 0.8781 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.6164, allocations: 23.22 kB / 0.8782 GB, free: 9.242 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.0004164/0.6169, allocations: 392.5 kB / 0.8785 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.617, allocations: 119.4 kB / 0.8787 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.6172, allocations: 138.5 kB / 0.8788 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6172, allocations: 2.938 kB / 0.8788 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.6172, allocations: 4.469 kB / 0.8788 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.6173, allocations: 3.984 kB / 0.8788 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.6195, allocations: 1.487 MB / 0.8803 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6196, allocations: 2.75 kB / 0.8803 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.6198, allocations: 48.5 kB / 0.8803 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003892/0.6202, allocations: 164.2 kB / 0.8805 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.6202, allocations: 10.83 kB / 0.8805 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.6239, allocations: 4.035 MB / 0.8844 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6239, allocations: 0 / 0.8844 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.6256, allocations: 0.9876 MB / 0.8854 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.6259, allocations: 217.2 kB / 0.8856 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-05/0.626, allocations: 12.73 kB / 0.8856 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.6263, allocations: 31.38 kB / 0.8856 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.6265, allocations: 50.58 kB / 0.8857 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.6265, allocations: 21.72 kB / 0.8857 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001351/0.6279, allocations: 1.293 MB / 0.887 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6279, allocations: 0 / 0.887 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006807/0.6286, allocations: 199.7 kB / 0.8871 GB, free: 2.281 MB / 0.5919 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.002959/0.6315, allocations: 1.896 MB / 0.889 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.633, allocations: 0.6974 MB / 0.8897 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.633, allocations: 0.875 kB / 0.8897 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.6338, allocations: 0.5282 MB / 0.8902 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009581/0.6347, allocations: 203.9 kB / 0.8904 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.6467, allocations: 9.07 MB / 0.8992 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.6475, allocations: 1.149 MB / 0.9004 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003069/0.6478, allocations: 92.78 kB / 0.9005 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/0.6483, allocations: 403.3 kB / 0.9008 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.6483, allocations: 0 / 0.9008 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04591/0.6942, allocations: 20.5 MB / 0.9209 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.73/10.42, allocations: 8 kB / 0.9209 GB, free: 15.75 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)