Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_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.005016/0.005016, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001352/0.001351, allocations: 192 kB / 16.67 MB, free: 5.918 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002561/0.002561, allocations: 282.6 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.046/1.046, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002918/0.002918, allocations: 87.92 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1757, allocations: 86.97 MB / 0.766 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.3301/0.5058, allocations: 12.97 MB / 0.7786 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.5085, allocations: 2.662 MB / 0.7812 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.5086, allocations: 1.344 kB / 0.7812 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.5089, allocations: 52.05 kB / 0.7813 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.5092, allocations: 89.08 kB / 0.7814 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009614/0.5101, allocations: 0.4996 MB / 0.7819 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.5104, allocations: 235.3 kB / 0.7821 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.5104, allocations: 14.64 kB / 0.7821 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007503/0.5179, allocations: 3.578 MB / 0.7856 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.5181, allocations: 91.45 kB / 0.7857 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.5181, allocations: 7.219 kB / 0.7857 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.5206, allocations: 1.063 MB / 0.7867 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.5207, allocations: 45.77 kB / 0.7868 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.5208, allocations: 83.39 kB / 0.7868 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006189/0.5214, allocations: 378.7 kB / 0.7872 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5214, allocations: 0.5156 kB / 0.7872 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5214, allocations: 3.125 kB / 0.7872 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5214, allocations: 0 / 0.7872 GB, free: 5.406 MB / 0.5606 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.0006244/0.5221, allocations: 0.5022 MB / 0.7877 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5221, allocations: 8.156 kB / 0.7877 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.5222, allocations: 58.38 kB / 0.7878 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.5223, allocations: 25.91 kB / 0.7878 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.5226, allocations: 215.9 kB / 0.788 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5226, allocations: 11.17 kB / 0.788 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.5226, allocations: 15.28 kB / 0.788 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.523, allocations: 251.5 kB / 0.7883 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.523, allocations: 0 / 0.7883 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.523, allocations: 6.688 kB / 0.7883 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.523, allocations: 17.56 kB / 0.7883 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.5235, allocations: 433.5 kB / 0.7887 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009495/0.5244, allocations: 0.9639 MB / 0.7896 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.5247, allocations: 166 kB / 0.7898 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.715e-05/0.5248, allocations: 69.38 kB / 0.7899 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.526, allocations: 1.825 MB / 0.7916 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.5261, allocations: 43.25 kB / 0.7917 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.5261, allocations: 0 / 0.7917 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003155/0.5264, allocations: 142.4 kB / 0.7918 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.5264, allocations: 62.25 kB / 0.7919 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.5266, allocations: 169.3 kB / 0.792 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.5266, allocations: 29.7 kB / 0.7921 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.5267, allocations: 142.6 kB / 0.7922 GB, free: 17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.5267, allocations: 56.97 kB / 0.7923 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.5268, allocations: 55.89 kB / 0.7923 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5269, allocations: 322 kB / 0.7926 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.527, allocations: 37.41 kB / 0.7927 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.5271, allocations: 142.5 kB / 0.7928 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.5273, allocations: 202.6 kB / 0.793 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5273, allocations: 1 kB / 0.793 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002934/0.5276, allocations: 219.3 kB / 0.7932 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5276, allocations: 8.641 kB / 0.7932 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5276, allocations: 2.906 kB / 0.7932 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5277, allocations: 6.609 kB / 0.7932 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.5278, allocations: 53.59 kB / 0.7933 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5278, allocations: 6.359 kB / 0.7933 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.528, allocations: 29.47 kB / 0.7933 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.528, allocations: 20.58 kB / 0.7933 GB, free: 16.12 MB / 0.5762 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.0001211/0.5281, allocations: 129.9 kB / 0.7934 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.5282, allocations: 24.75 kB / 0.7935 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.5285, allocations: 153.8 kB / 0.7936 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5285, allocations: 8.406 kB / 0.7936 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5285, allocations: 3.938 kB / 0.7936 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5285, allocations: 0.6562 kB / 0.7936 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.5288, allocations: 216.6 kB / 0.7938 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5288, allocations: 0 / 0.7938 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.5289, allocations: 29.73 kB / 0.7939 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5289, allocations: 4.969 kB / 0.7939 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5289, allocations: 2.938 kB / 0.7939 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5289, allocations: 9.344 kB / 0.7939 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5289, allocations: 0 / 0.7939 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.5291, allocations: 223.8 kB / 0.7941 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/0.5293, allocations: 107.9 kB / 0.7942 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.5293, allocations: 4.797 kB / 0.7942 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.5295, allocations: 19.94 kB / 0.7942 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.5295, allocations: 13.17 kB / 0.7942 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.5296, allocations: 15.97 kB / 0.7942 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001/0.5297, allocations: 120.6 kB / 0.7944 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5297, allocations: 0 / 0.7944 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004925/0.5302, allocations: 82.02 kB / 0.7944 GB, free: 15.25 MB / 0.5762 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.0007521/0.5309, allocations: 0.8335 MB / 0.7953 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.5312, allocations: 122.7 kB / 0.7954 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5312, allocations: 0 / 0.7954 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.5312, allocations: 45.62 kB / 0.7954 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.5317, allocations: 57.14 kB / 0.7955 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.5338, allocations: 2.048 MB / 0.7975 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.5342, allocations: 0.7166 MB / 0.7982 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.5344, allocations: 48.56 kB / 0.7982 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.5344, allocations: 45.08 kB / 0.7983 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.5344, allocations: 0 / 0.7983 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.5618, allocations: 5.512 MB / 0.8036 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.335, allocations: 9.609 kB / 0.8036 GB, free: 11.32 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)