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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9085/0.9085, allocations: 141.8 MB / 149.3 MB, free: 9.191 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 176.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 87.91 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001919/0.001919, allocations: 280 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.24e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5147, allocations: 82.77 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.7094, allocations: 135.1 MB / 0.8894 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.7097, allocations: 79.88 kB / 0.8895 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.00572/0.7155, allocations: 2.178 MB / 0.8916 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.447e-06/0.7155, allocations: 0 / 0.8916 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.7155, allocations: 3.938 kB / 0.8916 GB, free: 6.465 MB / 0.5573 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.0004852/0.716, allocations: 374.4 kB / 0.8919 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7161, allocations: 8.031 kB / 0.8919 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.7161, allocations: 7.906 kB / 0.892 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.7163, allocations: 171 kB / 0.8921 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.7163, allocations: 0 / 0.8921 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.7163, allocations: 4 kB / 0.8921 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.71e-05/0.7164, allocations: 20 kB / 0.8921 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.025e-05/0.7165, allocations: 49.69 kB / 0.8922 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7165, allocations: 3.938 kB / 0.8922 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.7166, allocations: 0 / 0.8922 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.7166, allocations: 4 kB / 0.8922 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.717, allocations: 257.3 kB / 0.8924 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.85e-05/0.717, allocations: 30.56 kB / 0.8925 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.7171, allocations: 20.86 kB / 0.8925 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.7173, allocations: 93.25 kB / 0.8926 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.7173, allocations: 34.5 kB / 0.8926 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.7173, allocations: 0 / 0.8926 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002415/0.7176, allocations: 61.58 kB / 0.8927 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7176, allocations: 51.41 kB / 0.8927 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.7177, allocations: 105 kB / 0.8928 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.7177, allocations: 25.7 kB / 0.8928 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.7178, allocations: 96.06 kB / 0.8929 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.7178, allocations: 3.906 kB / 0.8929 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.7178, allocations: 0 / 0.8929 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7179, allocations: 319.2 kB / 0.8932 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.718, allocations: 8 kB / 0.8933 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.718, allocations: 4 kB / 0.8933 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.7181, allocations: 15.98 kB / 0.8933 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7181, allocations: 7.938 kB / 0.8933 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000106/0.7182, allocations: 65.47 kB / 0.8933 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7182, allocations: 4 kB / 0.8933 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7182, allocations: 0 / 0.8933 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.7182, allocations: 0 / 0.8933 GB, free: 4.441 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.7184, allocations: 23.97 kB / 0.8934 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7184, allocations: 0 / 0.8934 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.7185, allocations: 19.98 kB / 0.8934 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.7185, allocations: 3.953 kB / 0.8934 GB, free: 4.395 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.347e-05/0.7186, allocations: 105 kB / 0.8935 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001132/0.7187, allocations: 53.69 kB / 0.8935 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.7187, allocations: 3.906 kB / 0.8935 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.7189, allocations: 65.95 kB / 0.8936 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.7189, allocations: 0 / 0.8936 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.7189, allocations: 11.95 kB / 0.8936 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7189, allocations: 0 / 0.8936 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.7191, allocations: 146.2 kB / 0.8938 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7191, allocations: 0 / 0.8938 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.7192, allocations: 19.98 kB / 0.8938 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7192, allocations: 0 / 0.8938 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.7192, allocations: 0 / 0.8938 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7192, allocations: 0 / 0.8938 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7192, allocations: 0 / 0.8938 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.7194, allocations: 163.3 kB / 0.8939 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.7195, allocations: 85.09 kB / 0.894 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.7195, allocations: 0 / 0.894 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.7196, allocations: 15.98 kB / 0.894 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.7197, allocations: 0 / 0.894 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.7197, allocations: 11.98 kB / 0.894 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.7197, allocations: 83.28 kB / 0.8941 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7197, allocations: 0 / 0.8941 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002127/0.72, allocations: 15.94 kB / 0.8941 GB, free: 3.535 MB / 0.5573 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 () * 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 (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.000564/0.7205, allocations: 0.7283 MB / 0.8948 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.7206, allocations: 28.2 kB / 0.8949 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7206, allocations: 0 / 0.8949 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.7207, allocations: 12.14 kB / 0.8949 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.7209, allocations: 15.88 kB / 0.8949 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.7213, allocations: 115.3 kB / 0.895 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.7216, allocations: 0.6924 MB / 0.8957 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.7216, allocations: 4 kB / 0.8957 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.7217, allocations: 15.44 kB / 0.8957 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.7217, allocations: 0 / 0.8957 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.7429, allocations: 1.541 MB / 0.8972 GB, free: 332 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.7432, allocations: 156.7 kB / 0.8974 GB, free: 132 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.548, allocations: 0 / 0.8974 GB, free: 132 kB / 0.5573 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/linux/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)