Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",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.0007181/0.0007181, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00519/0.00519, allocations: 172.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.52/1.52, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.000447, allocations: 23.52 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02948/0.2173, allocations: 34.31 MB / 0.8215 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008024/0.2253, allocations: 6.785 MB / 0.8281 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/0.226, allocations: 43.69 kB / 0.8282 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008444/0.2269, allocations: 389.7 kB / 0.8285 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.229, allocations: 1.165 MB / 0.8297 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.2308, allocations: 0.9348 MB / 0.8306 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.2332, allocations: 2.871 MB / 0.8334 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007264/0.234, allocations: 0.6291 MB / 0.834 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.2352, allocations: 0.8631 MB / 0.8349 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006106/0.2358, allocations: 0.6221 MB / 0.8355 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/0.2359, allocations: 35.98 kB / 0.8355 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.2373, allocations: 0.881 MB / 0.8364 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2374, allocations: 159.1 kB / 0.8365 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.2378, allocations: 491.2 kB / 0.837 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.2392, allocations: 1.616 MB / 0.8386 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2392, allocations: 0 / 0.8386 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2392, allocations: 0 / 0.8386 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.2392, allocations: 0 / 0.8386 GB, free: 7.484 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.00179/0.241, allocations: 1.183 MB / 0.8397 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2411, allocations: 12.03 kB / 0.8397 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.2412, allocations: 98.69 kB / 0.8398 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.2437, allocations: 0.5063 MB / 0.8403 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.2448, allocations: 0.8844 MB / 0.8412 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.2449, allocations: 45.31 kB / 0.8412 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.245, allocations: 60 kB / 0.8413 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.2467, allocations: 0.8709 MB / 0.8421 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2467, allocations: 4 kB / 0.8421 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.2467, allocations: 20 kB / 0.8421 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.2468, allocations: 19.94 kB / 0.8422 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.249, allocations: 0.856 MB / 0.843 GB, free: 2.773 MB / 0.6544 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.005057/0.2541, allocations: 4.707 MB / 0.8476 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/0.2578, allocations: 0.9627 MB / 0.8485 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.2588, allocations: 404.6 kB / 0.8489 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/0.2596, allocations: 0.9531 MB / 0.8499 GB, free: 11.15 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2597, allocations: 38.5 kB / 0.8499 GB, free: 11.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.2597, allocations: 4 kB / 0.8499 GB, free: 11.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.003126/0.2628, allocations: 1.147 MB / 0.851 GB, free: 9.945 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.2629, allocations: 55.41 kB / 0.8511 GB, free: 9.879 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.2636, allocations: 0.72 MB / 0.8518 GB, free: 9.148 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.2637, allocations: 37.7 kB / 0.8518 GB, free: 9.105 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.264, allocations: 443.9 kB / 0.8522 GB, free: 8.668 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.2641, allocations: 126.2 kB / 0.8524 GB, free: 8.543 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/0.2641, allocations: 45.69 kB / 0.8524 GB, free: 8.492 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.2642, allocations: 322 kB / 0.8527 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.2652, allocations: 360.9 kB / 0.853 GB, free: 7.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.2664, allocations: 0.5469 MB / 0.8536 GB, free: 7.195 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.2684, allocations: 0.8119 MB / 0.8544 GB, free: 6.324 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2685, allocations: 4 kB / 0.8544 GB, free: 6.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002319/0.2708, allocations: 0.9522 MB / 0.8553 GB, free: 5.359 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.2709, allocations: 208.9 kB / 0.8555 GB, free: 5.094 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2709, allocations: 4 kB / 0.8555 GB, free: 5.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2709, allocations: 8 kB / 0.8555 GB, free: 5.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/0.2718, allocations: 215.7 kB / 0.8557 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2719, allocations: 8 kB / 0.8557 GB, free: 4.863 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008735/0.2727, allocations: 163.4 kB / 0.8559 GB, free: 4.703 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/0.2728, allocations: 27.92 kB / 0.8559 GB, free: 4.676 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.577e-06/0.2728, allocations: 10.97 kB / 0.8559 GB, free: 4.668 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002159/0.275, allocations: 0.8236 MB / 0.8567 GB, free: 3.844 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.275, allocations: 11.97 kB / 0.8567 GB, free: 3.832 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.275, allocations: 8 kB / 0.8567 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/0.2759, allocations: 215.7 kB / 0.857 GB, free: 3.613 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2759, allocations: 15.88 kB / 0.857 GB, free: 3.598 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/0.2767, allocations: 159.5 kB / 0.8571 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.2768, allocations: 23.98 kB / 0.8571 GB, free: 3.418 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.2771, allocations: 305 kB / 0.8574 GB, free: 3.109 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.2772, allocations: 90.89 kB / 0.8575 GB, free: 3.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.2797, allocations: 1.021 MB / 0.8585 GB, free: 1.996 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.2797, allocations: 4 kB / 0.8585 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2797, allocations: 0 / 0.8585 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.2797, allocations: 7.984 kB / 0.8585 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.2832, allocations: 1.914 MB / 0.8604 GB, free: 4 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.2832, allocations: 4 kB / 0.8604 GB, free: 0 / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.284, allocations: 180 kB / 0.8606 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.284, allocations: 3.938 kB / 0.8606 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.2841, allocations: 11.98 kB / 0.8606 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2841, allocations: 4 kB / 0.8606 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2841, allocations: 0 / 0.8606 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.2874, allocations: 1.518 MB / 0.8621 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.2877, allocations: 227.9 kB / 0.8623 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/0.2878, allocations: 11.98 kB / 0.8623 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/0.2885, allocations: 127.8 kB / 0.8624 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.2886, allocations: 27.97 kB / 0.8625 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.2886, allocations: 19.97 kB / 0.8625 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000546/0.2892, allocations: 0.5107 MB / 0.863 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2892, allocations: 0 / 0.863 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001037/0.2902, allocations: 427.1 kB / 0.8634 GB, free: 12.91 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004042/0.2943, allocations: 2.271 MB / 0.8656 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003292/0.2976, allocations: 1.288 MB / 0.8669 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2976, allocations: 0 / 0.8669 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.2987, allocations: 455.7 kB / 0.8673 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.3003, allocations: 349.2 kB / 0.8676 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.3172, allocations: 7.921 MB / 0.8754 GB, free: 344 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.3177, allocations: 0.9734 MB / 0.8763 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009991/0.3188, allocations: 210.4 kB / 0.8765 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/0.3193, allocations: 335.3 kB / 0.8768 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of SimCode: time 6.61e-07/0.3193, allocations: 0 / 0.8768 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.3561, allocations: 21.69 MB / 0.898 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.3564, allocations: 260.9 kB / 0.8983 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.439, allocations: 0 / 0.8983 GB, free: 9.25 MB / 0.7169 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)