Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.0076/0.0076, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001649/0.001649, allocations: 186.5 kB / 16.67 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.054/1.054, allocations: 143.3 MB / 433.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 55.91 kB / 0.5954 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4671, allocations: 82.03 MB / 0.6755 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01748/0.4846, allocations: 12.97 MB / 0.6881 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003304/0.488, allocations: 2.673 MB / 0.6908 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4881, allocations: 1.375 kB / 0.6908 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.4885, allocations: 51.12 kB / 0.6908 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003896/0.489, allocations: 98.84 kB / 0.6909 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.4904, allocations: 0.4988 MB / 0.6914 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.4907, allocations: 227.6 kB / 0.6916 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.596e-05/0.4908, allocations: 21.39 kB / 0.6916 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01163/0.5025, allocations: 3.584 MB / 0.6951 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.5028, allocations: 93.34 kB / 0.6952 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.5028, allocations: 7.781 kB / 0.6952 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.5062, allocations: 1.065 MB / 0.6963 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.5063, allocations: 43.83 kB / 0.6963 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.5065, allocations: 83.58 kB / 0.6964 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.5075, allocations: 374.8 kB / 0.6967 GB, free: 344 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5075, allocations: 0 / 0.6967 GB, free: 344 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5076, allocations: 0 / 0.6967 GB, free: 344 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.5076, allocations: 0 / 0.6967 GB, free: 344 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009405/0.5085, allocations: 0.5103 MB / 0.6972 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.5086, allocations: 12.02 kB / 0.6972 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/0.5086, allocations: 50.75 kB / 0.6973 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.5088, allocations: 24.83 kB / 0.6973 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.5092, allocations: 220.2 kB / 0.6975 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5092, allocations: 8.703 kB / 0.6975 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.5093, allocations: 16.38 kB / 0.6976 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.5097, allocations: 248.7 kB / 0.6978 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5097, allocations: 0 / 0.6978 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.5098, allocations: 8 kB / 0.6978 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.5098, allocations: 7.984 kB / 0.6978 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.5104, allocations: 440 kB / 0.6982 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.5117, allocations: 0.9722 MB / 0.6992 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.512, allocations: 159.7 kB / 0.6993 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.5121, allocations: 60.88 kB / 0.6994 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.5139, allocations: 1.833 MB / 0.7012 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.5139, allocations: 38.55 kB / 0.7012 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.5139, allocations: 3.938 kB / 0.7012 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003559/0.5143, allocations: 153.4 kB / 0.7014 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.5144, allocations: 51.41 kB / 0.7014 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5146, allocations: 180.4 kB / 0.7016 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.5146, allocations: 25.7 kB / 0.7016 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.5147, allocations: 136.2 kB / 0.7017 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.5148, allocations: 63.47 kB / 0.7018 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.5149, allocations: 53.7 kB / 0.7019 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002589/0.5151, allocations: 322.8 kB / 0.7022 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.5152, allocations: 31.98 kB / 0.7022 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.5154, allocations: 150 kB / 0.7023 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.5157, allocations: 197.5 kB / 0.7025 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5157, allocations: 0 / 0.7025 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003743/0.5161, allocations: 213.7 kB / 0.7027 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.5161, allocations: 8 kB / 0.7027 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5161, allocations: 7.984 kB / 0.7027 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5161, allocations: 7.938 kB / 0.7027 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.5163, allocations: 63.8 kB / 0.7028 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5163, allocations: 4 kB / 0.7028 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.5165, allocations: 27.78 kB / 0.7028 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.5165, allocations: 16 kB / 0.7029 GB, free: 9.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001252/0.5166, allocations: 137.6 kB / 0.703 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.5167, allocations: 19.91 kB / 0.703 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.517, allocations: 165.5 kB / 0.7032 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.517, allocations: 3.938 kB / 0.7032 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.517, allocations: 0 / 0.7032 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5171, allocations: 3.984 kB / 0.7032 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.5173, allocations: 205.6 kB / 0.7034 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5173, allocations: 0 / 0.7034 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/0.5174, allocations: 27.98 kB / 0.7034 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.5174, allocations: 4 kB / 0.7034 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.5175, allocations: 0 / 0.7034 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.5175, allocations: 3.938 kB / 0.7034 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5175, allocations: 4 kB / 0.7034 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.5178, allocations: 227.3 kB / 0.7036 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.5179, allocations: 109 kB / 0.7037 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.5179, allocations: 7.922 kB / 0.7037 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.5181, allocations: 15.94 kB / 0.7037 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.5182, allocations: 11.97 kB / 0.7038 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.5182, allocations: 15.98 kB / 0.7038 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001028/0.5183, allocations: 124 kB / 0.7039 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5183, allocations: 0 / 0.7039 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004053/0.5187, allocations: 83.8 kB / 0.704 GB, free: 8.098 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0008287/0.5196, allocations: 0.8293 MB / 0.7048 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.5198, allocations: 122.4 kB / 0.7049 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5198, allocations: 4 kB / 0.7049 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.5199, allocations: 43.92 kB / 0.7049 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.5204, allocations: 67 kB / 0.705 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.5229, allocations: 2.057 MB / 0.707 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.5233, allocations: 0.7129 MB / 0.7077 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.5235, allocations: 53.73 kB / 0.7078 GB, free: 4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.5236, allocations: 47.36 kB / 0.7078 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.5236, allocations: 0 / 0.7078 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.5525, allocations: 5.594 MB / 0.7133 GB, free: 14.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.691, allocations: 12.39 kB / 0.7133 GB, free: 14.53 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)