Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",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.001362/0.001362, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001637/0.001637, allocations: 194.7 kB / 16.14 MB, free: 6.707 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 290.8 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 93.03 kB / 0.5946 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.188, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003271/0.1913, allocations: 1.55 MB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.497/0.6883, allocations: 129.9 MB / 0.8079 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.312e-05/0.6884, allocations: 0 / 0.8079 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.6885, allocations: 1.094 kB / 0.8079 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.684e-05/0.6886, allocations: 11.72 kB / 0.8079 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.689, allocations: 61.45 kB / 0.808 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.08e-05/0.689, allocations: 54.42 kB / 0.8081 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.6891, allocations: 14.52 kB / 0.8081 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.6892, allocations: 20.16 kB / 0.8081 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.6893, allocations: 23.64 kB / 0.8081 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.6893, allocations: 9.094 kB / 0.8081 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.278e-05/0.6894, allocations: 9.672 kB / 0.8081 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.6894, allocations: 9.578 kB / 0.8081 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.6894, allocations: 21.48 kB / 0.8082 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.6895, allocations: 57.75 kB / 0.8082 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6896, allocations: 0 / 0.8082 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6896, allocations: 0.9062 kB / 0.8082 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.6896, allocations: 0 / 0.8082 GB, free: 2.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006035/0.6902, allocations: 376.7 kB / 0.8086 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.6902, allocations: 7.875 kB / 0.8086 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.6903, allocations: 34.11 kB / 0.8086 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.6903, allocations: 10.03 kB / 0.8086 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.6904, allocations: 178.1 kB / 0.8088 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.6904, allocations: 3.969 kB / 0.8088 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.6905, allocations: 384 / 0.8088 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.6907, allocations: 75.62 kB / 0.8089 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6907, allocations: 3.938 kB / 0.8089 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.6907, allocations: 4 kB / 0.8089 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.6907, allocations: 0 / 0.8089 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.691, allocations: 68.41 kB / 0.8089 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.6913, allocations: 282.8 kB / 0.8092 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.6915, allocations: 60.45 kB / 0.8093 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.6917, allocations: 34.66 kB / 0.8093 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.6919, allocations: 91.64 kB / 0.8094 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.6919, allocations: 39.09 kB / 0.8094 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.6919, allocations: 3.938 kB / 0.8094 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004889/0.6924, allocations: 129.2 kB / 0.8096 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.6924, allocations: 52.84 kB / 0.8096 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.6925, allocations: 121.8 kB / 0.8097 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.6926, allocations: 30.3 kB / 0.8098 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.6926, allocations: 83.45 kB / 0.8098 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.6926, allocations: 12.3 kB / 0.8098 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.6927, allocations: 15.44 kB / 0.8099 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6928, allocations: 322.6 kB / 0.8102 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.6929, allocations: 30.23 kB / 0.8102 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.693, allocations: 36.75 kB / 0.8102 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.6933, allocations: 73.62 kB / 0.8103 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6933, allocations: 3.938 kB / 0.8103 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002939/0.6936, allocations: 101.9 kB / 0.8104 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6936, allocations: 5.047 kB / 0.8104 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6936, allocations: 0 / 0.8104 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.6936, allocations: 1.406 kB / 0.8104 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6938, allocations: 15.56 kB / 0.8104 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6938, allocations: 2.062 kB / 0.8104 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.6939, allocations: 18.52 kB / 0.8104 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.6939, allocations: 1.594 kB / 0.8104 GB, free: 16.43 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.328e-05/0.694, allocations: 120.2 kB / 0.8106 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.694, allocations: 6.75 kB / 0.8106 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.6943, allocations: 108.3 kB / 0.8107 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6944, allocations: 0 / 0.8107 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6944, allocations: 1.203 kB / 0.8107 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6944, allocations: 6.469 kB / 0.8107 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.6945, allocations: 177.1 kB / 0.8108 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6945, allocations: 0 / 0.8108 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.6946, allocations: 18.42 kB / 0.8109 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.6946, allocations: 0 / 0.8109 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6946, allocations: 0 / 0.8109 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6947, allocations: 1.156 kB / 0.8109 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6947, allocations: 0 / 0.8109 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.695, allocations: 205.4 kB / 0.8111 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.695, allocations: 80.89 kB / 0.8111 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.6951, allocations: 3.828 kB / 0.8111 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.6952, allocations: 9.688 kB / 0.8112 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.6952, allocations: 12.61 kB / 0.8112 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.6952, allocations: 0 / 0.8112 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.6953, allocations: 94.09 kB / 0.8113 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6953, allocations: 0 / 0.8113 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000221/0.6955, allocations: 12.06 kB / 0.8113 GB, free: 15.75 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0006212/0.6961, allocations: 0.7496 MB / 0.812 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.6964, allocations: 66.09 kB / 0.8121 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6965, allocations: 0 / 0.8121 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.6966, allocations: 41.86 kB / 0.8121 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.6969, allocations: 14.7 kB / 0.8121 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.6985, allocations: 1.431 MB / 0.8135 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.6987, allocations: 0.6858 MB / 0.8142 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.6988, allocations: 2.156 kB / 0.8142 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.6988, allocations: 19.48 kB / 0.8142 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6988, allocations: 0 / 0.8142 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.7097, allocations: 1.797 MB / 0.816 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.7099, allocations: 225.5 kB / 0.8162 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.399, allocations: 0 / 0.8162 GB, free: 12.68 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)