Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.001178/0.001178, allocations: 108 kB / 15.61 MB, free: 152 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.001184/0.001184, allocations: 197 kB / 16.53 MB, free: 6.664 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 275 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9162/0.9162, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 99.91 kB / 0.5953 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1519, allocations: 86.99 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4311/0.583, allocations: 156.7 MB / 0.8333 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.6089, allocations: 21.75 MB / 0.8546 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.6112, allocations: 54.94 kB / 0.8546 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.6127, allocations: 1.16 MB / 0.8558 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.6142, allocations: 0.8537 MB / 0.8566 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.6154, allocations: 446.6 kB / 0.857 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.6168, allocations: 1.249 MB / 0.8582 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.6175, allocations: 0.6805 MB / 0.8589 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006559/0.6182, allocations: 0.5553 MB / 0.8594 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008948/0.6191, allocations: 0.9109 MB / 0.8603 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.737e-05/0.6192, allocations: 68.91 kB / 0.8604 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.6195, allocations: 117.1 kB / 0.8605 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.6197, allocations: 307.9 kB / 0.8608 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.6201, allocations: 495.4 kB / 0.8613 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009855/0.6211, allocations: 1.182 MB / 0.8624 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6211, allocations: 0 / 0.8624 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6211, allocations: 0 / 0.8624 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.6211, allocations: 0 / 0.8624 GB, free: 4.84 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.002043/0.6232, allocations: 1.478 MB / 0.8639 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6232, allocations: 9.531 kB / 0.8639 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.839e-05/0.6233, allocations: 86.12 kB / 0.864 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.6235, allocations: 133.9 kB / 0.8641 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.6242, allocations: 0.6573 MB / 0.8647 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.6244, allocations: 72.47 kB / 0.8648 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.417e-05/0.6244, allocations: 52.3 kB / 0.8649 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/0.6253, allocations: 0.5204 MB / 0.8654 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6253, allocations: 2.781 kB / 0.8654 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.6254, allocations: 14.09 kB / 0.8654 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.6254, allocations: 14.06 kB / 0.8654 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.6262, allocations: 415.1 kB / 0.8658 GB, free: 2.371 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.003273/0.6295, allocations: 2.738 MB / 0.8685 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.6304, allocations: 451.5 kB / 0.8689 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005996/0.631, allocations: 301.8 kB / 0.8692 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.6311, allocations: 9.438 kB / 0.8692 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005026/0.6316, allocations: 283.6 kB / 0.8695 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 2.585e-06/0.6316, allocations: 0 / 0.8695 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.002575/0.6342, allocations: 1.15 MB / 0.8706 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.6342, allocations: 58.12 kB / 0.8706 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.636, allocations: 1.764 MB / 0.8724 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.636, allocations: 40.45 kB / 0.8724 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.6364, allocations: 0.5229 MB / 0.8729 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.6366, allocations: 143.5 kB / 0.873 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.6367, allocations: 94.28 kB / 0.8731 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.6368, allocations: 327.4 kB / 0.8735 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.6373, allocations: 218.8 kB / 0.8737 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.6379, allocations: 337.8 kB / 0.874 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.6387, allocations: 0.5181 MB / 0.8745 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.6388, allocations: 6.375 kB / 0.8745 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001516/0.6403, allocations: 0.8055 MB / 0.8753 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.6403, allocations: 8.766 kB / 0.8753 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.6403, allocations: 8.578 kB / 0.8753 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003948/0.6407, allocations: 135 kB / 0.8754 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.6411, allocations: 110.7 kB / 0.8755 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.644, allocations: 2.605 MB / 0.8781 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.6444, allocations: 73.7 kB / 0.8781 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.6445, allocations: 21.06 kB / 0.8782 GB, free: 9.359 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.0004669/0.6449, allocations: 397.5 kB / 0.8785 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.6451, allocations: 119.3 kB / 0.8787 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.6453, allocations: 140.1 kB / 0.8788 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.6453, allocations: 8.297 kB / 0.8788 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.6454, allocations: 3.188 kB / 0.8788 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.6454, allocations: 0 / 0.8788 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.6476, allocations: 1.489 MB / 0.8803 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6476, allocations: 0 / 0.8803 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.6478, allocations: 52.48 kB / 0.8803 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.6482, allocations: 163.2 kB / 0.8805 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.6483, allocations: 10.58 kB / 0.8805 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/0.6518, allocations: 4.036 MB / 0.8844 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6518, allocations: 0 / 0.8844 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.6535, allocations: 0.9913 MB / 0.8854 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.6538, allocations: 213.7 kB / 0.8856 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.654, allocations: 18.64 kB / 0.8856 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.6543, allocations: 26.72 kB / 0.8856 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.6544, allocations: 54.55 kB / 0.8857 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.6545, allocations: 14.03 kB / 0.8857 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001357/0.6558, allocations: 1.291 MB / 0.887 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6558, allocations: 4 kB / 0.887 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007709/0.6566, allocations: 191.7 kB / 0.8871 GB, free: 2.426 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.002863/0.6595, allocations: 1.897 MB / 0.889 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.661, allocations: 0.6972 MB / 0.8897 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.661, allocations: 0.8125 kB / 0.8897 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.6618, allocations: 0.5321 MB / 0.8902 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.6628, allocations: 215.7 kB / 0.8904 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.6752, allocations: 9.065 MB / 0.8993 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.676, allocations: 1.149 MB / 0.9004 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003276/0.6763, allocations: 96.7 kB / 0.9005 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.6768, allocations: 403.3 kB / 0.9009 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.6768, allocations: 0 / 0.9009 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3963/1.073, allocations: 20.48 MB / 0.9209 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.647/10.72, allocations: 9.875 kB / 0.9209 GB, free: 15.89 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)