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.005389/0.005389, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.00121/0.00121, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 286.5 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9113/0.9113, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 95.84 kB / 0.6809 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1699, allocations: 86.98 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002992/0.173, allocations: 1.486 MB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4999/0.6729, allocations: 132.1 MB / 0.8963 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.673, allocations: 0 / 0.8963 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.656e-05/0.6731, allocations: 3.938 kB / 0.8963 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.286e-05/0.6732, allocations: 15.86 kB / 0.8963 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.6736, allocations: 67.7 kB / 0.8964 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.6738, allocations: 53.3 kB / 0.8965 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.6739, allocations: 15.98 kB / 0.8965 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.674, allocations: 19.92 kB / 0.8965 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.386e-05/0.674, allocations: 23.86 kB / 0.8965 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.674, allocations: 12 kB / 0.8965 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-05/0.6741, allocations: 15.98 kB / 0.8965 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.6742, allocations: 11.98 kB / 0.8965 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.6742, allocations: 23.86 kB / 0.8966 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.6744, allocations: 61.88 kB / 0.8966 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6744, allocations: 3.938 kB / 0.8966 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6744, allocations: 0 / 0.8966 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6744, allocations: 0 / 0.8966 GB, free: 13.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005434/0.675, allocations: 379.9 kB / 0.897 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.675, allocations: 8.031 kB / 0.897 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.6751, allocations: 34.75 kB / 0.897 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.6751, allocations: 4.938 kB / 0.897 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.6752, allocations: 173.5 kB / 0.8972 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.6752, allocations: 384 / 0.8972 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.6753, allocations: 8.359 kB / 0.8972 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.6755, allocations: 74.2 kB / 0.8973 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6755, allocations: 7.875 kB / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6755, allocations: 8 kB / 0.8973 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.6756, allocations: 0 / 0.8973 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.6758, allocations: 68.42 kB / 0.8974 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.6762, allocations: 276.7 kB / 0.8976 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.6764, allocations: 70.41 kB / 0.8977 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.6766, allocations: 40.92 kB / 0.8977 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.6768, allocations: 89.09 kB / 0.8978 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.6768, allocations: 34.56 kB / 0.8979 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.6768, allocations: 4 kB / 0.8979 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004998/0.6773, allocations: 129.5 kB / 0.898 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.6773, allocations: 51.41 kB / 0.898 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.6774, allocations: 117.8 kB / 0.8981 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.6775, allocations: 29.7 kB / 0.8982 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.6775, allocations: 88.14 kB / 0.8983 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.6775, allocations: 7.891 kB / 0.8983 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.6776, allocations: 21.66 kB / 0.8983 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6777, allocations: 314.8 kB / 0.8986 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.6778, allocations: 38.89 kB / 0.8986 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.678, allocations: 31.97 kB / 0.8986 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.6782, allocations: 68.78 kB / 0.8987 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6782, allocations: 3.938 kB / 0.8987 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002911/0.6785, allocations: 101.9 kB / 0.8988 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6785, allocations: 4 kB / 0.8988 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6785, allocations: 0 / 0.8988 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.6786, allocations: 0 / 0.8988 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.6787, allocations: 23.91 kB / 0.8988 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6787, allocations: 0 / 0.8988 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.6788, allocations: 19.92 kB / 0.8989 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.6788, allocations: 3.984 kB / 0.8989 GB, free: 10.83 MB / 0.6544 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.336e-05/0.6789, allocations: 118.4 kB / 0.899 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.6789, allocations: 0 / 0.899 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.6792, allocations: 105.5 kB / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6793, allocations: 4 kB / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6793, allocations: 3.984 kB / 0.8991 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6793, allocations: 0 / 0.8991 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.6794, allocations: 177.5 kB / 0.8993 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6795, allocations: 0 / 0.8993 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.6795, allocations: 19.97 kB / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6796, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.6796, allocations: 3.938 kB / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6796, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6796, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.6799, allocations: 202.9 kB / 0.8995 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.68, allocations: 85 kB / 0.8996 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.68, allocations: 0 / 0.8996 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.6801, allocations: 11.98 kB / 0.8996 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.6802, allocations: 7.938 kB / 0.8996 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.6802, allocations: 4 kB / 0.8996 GB, free: 10 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.6802, allocations: 95.27 kB / 0.8997 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6802, allocations: 0 / 0.8997 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002275/0.6805, allocations: 12 kB / 0.8997 GB, free: 9.895 MB / 0.6544 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.0006592/0.6811, allocations: 0.7402 MB / 0.9004 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.6815, allocations: 71.86 kB / 0.9005 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6815, allocations: 0 / 0.9005 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.6816, allocations: 35.91 kB / 0.9005 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.6819, allocations: 23.81 kB / 0.9005 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.6836, allocations: 1.421 MB / 0.9019 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.6839, allocations: 0.6846 MB / 0.9026 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.6839, allocations: 4 kB / 0.9026 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.684, allocations: 19.44 kB / 0.9026 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.684, allocations: 0 / 0.9026 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.7038, allocations: 2.124 MB / 0.9047 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.79, allocations: 12.69 kB / 0.9047 GB, free: 4.773 MB / 0.6544 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)