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.0007826/0.0007826, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007921/0.0007921, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.691/1.691, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005064/0.0005066, allocations: 15.84 kB / 0.6738 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2286, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03125/0.2599, allocations: 32.5 MB / 0.8191 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.271, allocations: 6.386 MB / 0.8254 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.2724, allocations: 43.69 kB / 0.8254 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.2735, allocations: 325.8 kB / 0.8257 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.2765, allocations: 0.9985 MB / 0.8267 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.2787, allocations: 0.7216 MB / 0.8274 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003123/0.2819, allocations: 2.488 MB / 0.8298 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009871/0.2829, allocations: 0.5709 MB / 0.8304 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.2846, allocations: 0.7969 MB / 0.8312 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008271/0.2855, allocations: 0.5755 MB / 0.8317 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.2856, allocations: 32 kB / 0.8318 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.2873, allocations: 0.7094 MB / 0.8325 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.2875, allocations: 151.2 kB / 0.8326 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.2877, allocations: 225.2 kB / 0.8328 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.2891, allocations: 1.173 MB / 0.834 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2891, allocations: 0 / 0.834 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.748e-06/0.2891, allocations: 0 / 0.834 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.2891, allocations: 3.938 kB / 0.834 GB, free: 12.01 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.002078/0.2912, allocations: 1.195 MB / 0.8351 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.2913, allocations: 12.02 kB / 0.8351 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.2914, allocations: 98.52 kB / 0.8352 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.2938, allocations: 0.5098 MB / 0.8357 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.2952, allocations: 0.8577 MB / 0.8366 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.2953, allocations: 45.31 kB / 0.8366 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/0.2954, allocations: 60 kB / 0.8367 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2972, allocations: 0.8709 MB / 0.8375 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.2972, allocations: 0 / 0.8375 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/0.2972, allocations: 28 kB / 0.8375 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.2973, allocations: 12 kB / 0.8376 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.2994, allocations: 0.856 MB / 0.8384 GB, free: 7.312 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.008935/0.3084, allocations: 4.695 MB / 0.843 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005578/0.314, allocations: 0.9782 MB / 0.8439 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.3157, allocations: 400.6 kB / 0.8443 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.3171, allocations: 0.9571 MB / 0.8453 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3171, allocations: 34.55 kB / 0.8453 GB, free: 15.64 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 3.086e-06/0.3172, allocations: 0 / 0.8453 GB, free: 15.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.004972/0.3221, allocations: 1.143 MB / 0.8464 GB, free: 14.49 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3222, allocations: 55.41 kB / 0.8465 GB, free: 14.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.3237, allocations: 0.72 MB / 0.8472 GB, free: 13.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-05/0.3238, allocations: 33.7 kB / 0.8472 GB, free: 13.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.3243, allocations: 444 kB / 0.8476 GB, free: 13.22 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.3244, allocations: 126.2 kB / 0.8477 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.3245, allocations: 12 kB / 0.8477 GB, free: 13.08 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.3247, allocations: 322 kB / 0.848 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.3262, allocations: 356.9 kB / 0.8484 GB, free: 12.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.328, allocations: 0.5423 MB / 0.8489 GB, free: 11.79 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.3295, allocations: 379.5 kB / 0.8493 GB, free: 11.42 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.3296, allocations: 4 kB / 0.8493 GB, free: 11.42 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003727/0.3333, allocations: 0.9297 MB / 0.8502 GB, free: 10.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.3335, allocations: 224.1 kB / 0.8504 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3335, allocations: 4 kB / 0.8504 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.3336, allocations: 8 kB / 0.8504 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.335, allocations: 211.8 kB / 0.8506 GB, free: 9.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.335, allocations: 11.94 kB / 0.8506 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.3366, allocations: 159.4 kB / 0.8508 GB, free: 9.812 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.3367, allocations: 27.98 kB / 0.8508 GB, free: 9.785 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.3368, allocations: 4 kB / 0.8508 GB, free: 9.781 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003211/0.34, allocations: 0.8309 MB / 0.8516 GB, free: 8.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.34, allocations: 4.094 kB / 0.8516 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.3401, allocations: 15.89 kB / 0.8516 GB, free: 8.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.3414, allocations: 216.3 kB / 0.8519 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/0.3414, allocations: 7.984 kB / 0.8519 GB, free: 8.711 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.343, allocations: 159.5 kB / 0.852 GB, free: 8.555 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.3431, allocations: 23.98 kB / 0.852 GB, free: 8.531 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006345/0.3437, allocations: 309 kB / 0.8523 GB, free: 8.219 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.3439, allocations: 78.97 kB / 0.8524 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.3478, allocations: 1.015 MB / 0.8534 GB, free: 7.117 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/0.3478, allocations: 15.94 kB / 0.8534 GB, free: 7.102 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3479, allocations: 0 / 0.8534 GB, free: 7.102 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3479, allocations: 3.938 kB / 0.8534 GB, free: 7.098 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005761/0.3537, allocations: 1.921 MB / 0.8553 GB, free: 5.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.3537, allocations: 7.984 kB / 0.8553 GB, free: 5.102 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.3549, allocations: 171.9 kB / 0.8555 GB, free: 4.934 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.3549, allocations: 4 kB / 0.8555 GB, free: 4.93 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.355, allocations: 11.98 kB / 0.8555 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.355, allocations: 4 kB / 0.8555 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.355, allocations: 3.984 kB / 0.8555 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004448/0.3595, allocations: 1.502 MB / 0.857 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.3601, allocations: 235.8 kB / 0.8572 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.3603, allocations: 16.06 kB / 0.8572 GB, free: 3.109 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.3613, allocations: 123.8 kB / 0.8573 GB, free: 2.988 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.3615, allocations: 31.95 kB / 0.8573 GB, free: 2.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.3615, allocations: 15.98 kB / 0.8574 GB, free: 2.941 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009922/0.3625, allocations: 0.4951 MB / 0.8578 GB, free: 2.453 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3626, allocations: 0 / 0.8578 GB, free: 2.453 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001982/0.3645, allocations: 423.2 kB / 0.8582 GB, free: 2.039 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006441/0.371, allocations: 2.263 MB / 0.8605 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005448/0.3765, allocations: 1.284 MB / 0.8617 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3765, allocations: 7.938 kB / 0.8617 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.3783, allocations: 445.6 kB / 0.8621 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.3809, allocations: 350.5 kB / 0.8625 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/0.3973, allocations: 5.911 MB / 0.8682 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.398, allocations: 0.9702 MB / 0.8692 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001053/0.399, allocations: 213.3 kB / 0.8694 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.3995, allocations: 339.3 kB / 0.8697 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/0.3995, allocations: 0 / 0.8697 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04541/0.445, allocations: 23.24 MB / 0.8924 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.4452, allocations: 235.8 kB / 0.8926 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/2.807, allocations: 3.938 kB / 0.8926 GB, free: 15.03 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/linux/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) Environment - environmentSimulation: