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.004597/0.004596, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001186/0.001186, allocations: 197 kB / 16.68 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002151/0.002151, allocations: 280.6 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8916/0.8916, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 103.8 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3937, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1527/0.5464, allocations: 156.7 MB / 0.9189 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.569, allocations: 21.76 MB / 0.9402 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.5705, allocations: 55.69 kB / 0.9402 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.5721, allocations: 1.161 MB / 0.9414 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.5735, allocations: 0.8601 MB / 0.9422 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.5746, allocations: 439.7 kB / 0.9426 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.576, allocations: 1.247 MB / 0.9438 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008524/0.5769, allocations: 0.6947 MB / 0.9445 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.5776, allocations: 0.5529 MB / 0.9451 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.5787, allocations: 0.9177 MB / 0.946 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.5789, allocations: 64 kB / 0.946 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.5792, allocations: 108 kB / 0.9461 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.5794, allocations: 320.7 kB / 0.9464 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.5799, allocations: 488.8 kB / 0.9469 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.5809, allocations: 1.203 MB / 0.9481 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.581, allocations: 0 / 0.9481 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.581, allocations: 8 kB / 0.9481 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.581, allocations: 0 / 0.9481 GB, free: 8.578 MB / 0.7169 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.002147/0.5831, allocations: 1.478 MB / 0.9495 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5832, allocations: 8.031 kB / 0.9495 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.966e-05/0.5833, allocations: 82.7 kB / 0.9496 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.5835, allocations: 135.2 kB / 0.9497 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/0.5843, allocations: 0.6665 MB / 0.9504 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.5845, allocations: 70.69 kB / 0.9504 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.5846, allocations: 55.92 kB / 0.9505 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.5854, allocations: 0.5184 MB / 0.951 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.5855, allocations: 3.906 kB / 0.951 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.5855, allocations: 16 kB / 0.951 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5855, allocations: 12 kB / 0.951 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007874/0.5863, allocations: 415.7 kB / 0.9514 GB, free: 5 MB / 0.7169 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.003292/0.5896, allocations: 2.712 MB / 0.9541 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/0.5905, allocations: 448.8 kB / 0.9545 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.5912, allocations: 303.7 kB / 0.9548 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.5912, allocations: 8.312 kB / 0.9548 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005084/0.5917, allocations: 279.8 kB / 0.9551 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 2.454e-06/0.5917, allocations: 0 / 0.9551 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.2853/0.877, allocations: 1.151 MB / 0.9562 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.8771, allocations: 60.25 kB / 0.9563 GB, free: 192.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.8795, allocations: 1.762 MB / 0.958 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.8796, allocations: 41.17 kB / 0.958 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.88, allocations: 0.5254 MB / 0.9585 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.8801, allocations: 142.9 kB / 0.9587 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.8803, allocations: 103.3 kB / 0.9588 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.8803, allocations: 326.9 kB / 0.9591 GB, free: 191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.8808, allocations: 214.7 kB / 0.9593 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.8813, allocations: 332.1 kB / 0.9596 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.8821, allocations: 0.5141 MB / 0.9601 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8821, allocations: 1.25 kB / 0.9601 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001488/0.8836, allocations: 0.8116 MB / 0.9609 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.8836, allocations: 7.172 kB / 0.9609 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8837, allocations: 4.594 kB / 0.9609 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003857/0.884, allocations: 136.7 kB / 0.961 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.8844, allocations: 103.4 kB / 0.9611 GB, free: 190 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.8867, allocations: 2.603 MB / 0.9637 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.8872, allocations: 83.44 kB / 0.9638 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.8873, allocations: 20.12 kB / 0.9638 GB, free: 187.9 MB / 0.7169 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.0004194/0.8877, allocations: 385.2 kB / 0.9641 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.8878, allocations: 120.1 kB / 0.9643 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.888, allocations: 145.5 kB / 0.9644 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.888, allocations: 5.5 kB / 0.9644 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.888, allocations: 7.5 kB / 0.9644 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.888, allocations: 8.5 kB / 0.9644 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.8902, allocations: 1.472 MB / 0.9659 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.8902, allocations: 0 / 0.9659 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.8905, allocations: 47.83 kB / 0.9659 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003699/0.8908, allocations: 163 kB / 0.9661 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.8909, allocations: 19.02 kB / 0.9661 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.8937, allocations: 4.027 MB / 0.97 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8937, allocations: 0.625 kB / 0.97 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.8953, allocations: 0.9928 MB / 0.971 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.8955, allocations: 214 kB / 0.9712 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.8956, allocations: 13.3 kB / 0.9712 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.8959, allocations: 24.94 kB / 0.9712 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.8961, allocations: 55.06 kB / 0.9713 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.8961, allocations: 17.62 kB / 0.9713 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001148/0.8973, allocations: 1.285 MB / 0.9725 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8973, allocations: 0 / 0.9725 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007003/0.898, allocations: 201 kB / 0.9727 GB, free: 181.7 MB / 0.7169 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.002416/0.9004, allocations: 1.913 MB / 0.9746 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.9017, allocations: 0.6703 MB / 0.9753 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9017, allocations: 4 kB / 0.9753 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006699/0.9024, allocations: 0.5209 MB / 0.9758 GB, free: 179 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.9034, allocations: 194.3 kB / 0.976 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/0.9126, allocations: 8.512 MB / 0.9843 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.9131, allocations: 1.149 MB / 0.9854 GB, free: 169 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.9134, allocations: 92.77 kB / 0.9855 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.9138, allocations: 407.3 kB / 0.9859 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.452e-06/0.9138, allocations: 0 / 0.9859 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05702/0.9708, allocations: 20.57 MB / 1.006 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.9, allocations: 13.22 kB / 1.006 GB, free: 148.3 MB / 0.7169 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)