Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001559/0.001559, 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.001621/0.001621, 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.238/1.238, 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/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 283.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9193/0.9193, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 100.5 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1353, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4245/0.5598, allocations: 156.7 MB / 0.8333 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02083/0.5806, allocations: 21.76 MB / 0.8546 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.5826, allocations: 54.97 kB / 0.8546 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.5841, allocations: 1.159 MB / 0.8558 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.5853, allocations: 0.8497 MB / 0.8566 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.5864, allocations: 442.6 kB / 0.857 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.5875, allocations: 1.248 MB / 0.8582 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007154/0.5882, allocations: 0.6842 MB / 0.8589 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/0.5887, allocations: 0.5435 MB / 0.8594 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000852/0.5896, allocations: 0.9214 MB / 0.8603 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.5897, allocations: 65.53 kB / 0.8604 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.5899, allocations: 117.7 kB / 0.8605 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.5902, allocations: 321.3 kB / 0.8608 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003688/0.5906, allocations: 496 kB / 0.8613 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009658/0.5915, allocations: 1.18 MB / 0.8624 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5915, allocations: 0 / 0.8624 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5915, allocations: 0 / 0.8624 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.5916, allocations: 0 / 0.8624 GB, free: 4.797 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.002202/0.5938, allocations: 1.476 MB / 0.8639 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.5938, allocations: 10.22 kB / 0.8639 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.5939, allocations: 86.14 kB / 0.864 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.5941, allocations: 130.1 kB / 0.8641 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007707/0.5949, allocations: 0.6662 MB / 0.8647 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.595, allocations: 74.41 kB / 0.8648 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.5951, allocations: 46.5 kB / 0.8649 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.596, allocations: 0.5188 MB / 0.8654 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.596, allocations: 3.938 kB / 0.8654 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.596, allocations: 17.06 kB / 0.8654 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.5961, allocations: 9.812 kB / 0.8654 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007957/0.5969, allocations: 414.8 kB / 0.8658 GB, free: 2.332 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.003393/0.6003, allocations: 2.803 MB / 0.8685 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009653/0.6012, allocations: 458 kB / 0.869 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.6018, allocations: 285 kB / 0.8692 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.6018, allocations: 7.453 kB / 0.8692 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000524/0.6024, allocations: 297.4 kB / 0.8695 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 4.499e-06/0.6024, allocations: 6.922 kB / 0.8695 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002811/0.6052, allocations: 1.244 MB / 0.8708 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.6052, allocations: 58.25 kB / 0.8708 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.6068, allocations: 1.745 MB / 0.8725 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.6069, allocations: 38.95 kB / 0.8725 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.6073, allocations: 0.5191 MB / 0.8731 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.6074, allocations: 153.4 kB / 0.8732 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.6075, allocations: 94.78 kB / 0.8733 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6076, allocations: 330.2 kB / 0.8736 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.6081, allocations: 222.7 kB / 0.8738 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.6087, allocations: 319.6 kB / 0.8741 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008657/0.6095, allocations: 0.5085 MB / 0.8746 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6095, allocations: 0 / 0.8746 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001561/0.6111, allocations: 0.8503 MB / 0.8755 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6111, allocations: 7.812 kB / 0.8755 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.6111, allocations: 2.594 kB / 0.8755 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/0.6116, allocations: 191.6 kB / 0.8756 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.612, allocations: 94.34 kB / 0.8757 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.6153, allocations: 3.001 MB / 0.8787 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.6157, allocations: 69.97 kB / 0.8787 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.6157, allocations: 22.89 kB / 0.8788 GB, free: 9.004 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003917/0.6161, allocations: 393.3 kB / 0.8791 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.6163, allocations: 119.2 kB / 0.8792 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.6165, allocations: 140.1 kB / 0.8794 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6165, allocations: 5.25 kB / 0.8794 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6165, allocations: 6.344 kB / 0.8794 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.6165, allocations: 3.984 kB / 0.8794 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.6188, allocations: 1.553 MB / 0.8809 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6188, allocations: 0 / 0.8809 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.619, allocations: 49.22 kB / 0.881 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.6195, allocations: 198.8 kB / 0.8811 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.6195, allocations: 12.89 kB / 0.8812 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004049/0.6236, allocations: 4.553 MB / 0.8856 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6236, allocations: 3.938 kB / 0.8856 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.6254, allocations: 1.064 MB / 0.8866 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.6256, allocations: 212.2 kB / 0.8868 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.6257, allocations: 10.7 kB / 0.8869 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.626, allocations: 34.78 kB / 0.8869 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.6262, allocations: 54.72 kB / 0.8869 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.655e-05/0.6262, allocations: 14.22 kB / 0.887 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001276/0.6275, allocations: 1.281 MB / 0.8882 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6275, allocations: 4 kB / 0.8882 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006902/0.6282, allocations: 207.6 kB / 0.8884 GB, free: 1.082 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,13,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.003047/0.6312, allocations: 1.993 MB / 0.8904 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.6328, allocations: 0.7619 MB / 0.8911 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6328, allocations: 4.062 kB / 0.8911 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.6337, allocations: 0.5475 MB / 0.8916 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.6347, allocations: 197.9 kB / 0.8918 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6464, allocations: 9.141 MB / 0.9008 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/0.6471, allocations: 1.153 MB / 0.9019 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002692/0.6474, allocations: 88.77 kB / 0.902 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.6478, allocations: 407.3 kB / 0.9024 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.6478, allocations: 0 / 0.9024 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.6949, allocations: 20.88 MB / 0.9227 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.922/10.62, allocations: 7.797 kB / 0.9228 GB, free: 13.95 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)