Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_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.007144/0.007144, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001633/0.001633, allocations: 196.3 kB / 16.67 MB, free: 5.977 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9488/0.9488, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.12 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4356, allocations: 80.91 MB / 0.6641 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002209/0.4378, allocations: 1.501 MB / 0.6656 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1379/0.5757, allocations: 132.1 MB / 0.7946 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.5759, allocations: 0 / 0.7946 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 5.011e-05/0.5759, allocations: 3.938 kB / 0.7946 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.5761, allocations: 7.938 kB / 0.7946 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.5766, allocations: 65.91 kB / 0.7947 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.5768, allocations: 55.77 kB / 0.7947 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.5769, allocations: 16 kB / 0.7947 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 9.082e-05/0.577, allocations: 23.92 kB / 0.7947 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.5771, allocations: 27.91 kB / 0.7948 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.5771, allocations: 4 kB / 0.7948 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.5773, allocations: 12 kB / 0.7948 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.5773, allocations: 19.86 kB / 0.7948 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.5773, allocations: 11.94 kB / 0.7948 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.5776, allocations: 67.73 kB / 0.7949 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5776, allocations: 0 / 0.7949 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.993e-06/0.5776, allocations: 4 kB / 0.7949 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.5776, allocations: 0 / 0.7949 GB, free: 11.24 MB / 0.6231 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.0006501/0.5783, allocations: 371.4 kB / 0.7952 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5783, allocations: 12.03 kB / 0.7953 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.5784, allocations: 30.75 kB / 0.7953 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.5784, allocations: 4.844 kB / 0.7953 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.5785, allocations: 176.2 kB / 0.7955 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.5786, allocations: 12.31 kB / 0.7955 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.5786, allocations: 4.375 kB / 0.7955 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.5788, allocations: 74.16 kB / 0.7955 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5788, allocations: 3.938 kB / 0.7955 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5789, allocations: 0 / 0.7955 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5789, allocations: 4 kB / 0.7955 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.5791, allocations: 71.92 kB / 0.7956 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.5795, allocations: 280.8 kB / 0.7959 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.5797, allocations: 62.45 kB / 0.7959 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.5799, allocations: 36.92 kB / 0.796 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.58, allocations: 93.09 kB / 0.7961 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.5801, allocations: 34.5 kB / 0.7961 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5801, allocations: 0 / 0.7961 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005087/0.5806, allocations: 137.5 kB / 0.7962 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.5806, allocations: 55.34 kB / 0.7963 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.5807, allocations: 113.8 kB / 0.7964 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5808, allocations: 25.7 kB / 0.7964 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.5808, allocations: 92.12 kB / 0.7965 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.5809, allocations: 11.81 kB / 0.7965 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.5809, allocations: 13.72 kB / 0.7965 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.581, allocations: 330.8 kB / 0.7968 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.5812, allocations: 27.97 kB / 0.7969 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.5813, allocations: 31.95 kB / 0.7969 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.5815, allocations: 64.8 kB / 0.797 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5816, allocations: 4 kB / 0.797 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002963/0.5819, allocations: 101.5 kB / 0.7971 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5819, allocations: 8 kB / 0.7971 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5819, allocations: 0 / 0.7971 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5819, allocations: 4 kB / 0.7971 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.582, allocations: 11.98 kB / 0.7971 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5821, allocations: 8 kB / 0.7971 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.5821, allocations: 11.92 kB / 0.7971 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.5822, allocations: 4 kB / 0.7971 GB, free: 8.707 MB / 0.6231 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 8.058e-05/0.5822, allocations: 113.8 kB / 0.7972 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.5823, allocations: 11.89 kB / 0.7972 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.5826, allocations: 109.5 kB / 0.7973 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5826, allocations: 0 / 0.7973 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5826, allocations: 0 / 0.7973 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5826, allocations: 0 / 0.7973 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.5828, allocations: 177.5 kB / 0.7975 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5828, allocations: 0 / 0.7975 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.5829, allocations: 15.98 kB / 0.7975 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5829, allocations: 3.938 kB / 0.7975 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.5829, allocations: 0 / 0.7975 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.5829, allocations: 3.938 kB / 0.7975 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.583, allocations: 8 kB / 0.7975 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.5833, allocations: 199.7 kB / 0.7977 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.5833, allocations: 77.11 kB / 0.7978 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.5834, allocations: 4 kB / 0.7978 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.5835, allocations: 11.98 kB / 0.7978 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.5835, allocations: 12.02 kB / 0.7978 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.5835, allocations: 0 / 0.7978 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.5836, allocations: 95.66 kB / 0.7979 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5836, allocations: 0 / 0.7979 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000227/0.5838, allocations: 15.98 kB / 0.7979 GB, free: 7.762 MB / 0.6231 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.000636/0.5845, allocations: 0.7409 MB / 0.7987 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.5848, allocations: 67.92 kB / 0.7987 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5848, allocations: 4 kB / 0.7987 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5849, allocations: 43.89 kB / 0.7988 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.5853, allocations: 8 kB / 0.7988 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5869, allocations: 1.427 MB / 0.8002 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.5872, allocations: 0.6807 MB / 0.8008 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.5872, allocations: 8 kB / 0.8008 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.5873, allocations: 15.44 kB / 0.8009 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.5873, allocations: 0 / 0.8009 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.6052, allocations: 2.069 MB / 0.8029 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/8.035, allocations: 11.17 kB / 0.8029 GB, free: 2.66 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)