Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.001031/0.001031, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.44 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1896, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002211/0.1918, allocations: 1.271 MB / 0.5857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3587/0.5506, allocations: 147.6 MB / 0.7299 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.101e-05/0.5506, allocations: 1.188 kB / 0.7299 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.5507, allocations: 0.5156 kB / 0.7299 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.5508, allocations: 10.16 kB / 0.7299 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.5512, allocations: 119.2 kB / 0.73 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.467e-05/0.5513, allocations: 18.05 kB / 0.73 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.5513, allocations: 3.375 kB / 0.73 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.5514, allocations: 5 kB / 0.73 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.5514, allocations: 11.88 kB / 0.7301 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.5514, allocations: 1.031 kB / 0.7301 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.5519, allocations: 172.5 kB / 0.7302 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.552, allocations: 8.172 kB / 0.7302 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.552, allocations: 12.88 kB / 0.7302 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.5523, allocations: 100.6 kB / 0.7303 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5523, allocations: 0 / 0.7303 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.667e-06/0.5523, allocations: 6.859 kB / 0.7303 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5523, allocations: 5.062 kB / 0.7303 GB, free: 0.6484 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004345/0.5527, allocations: 349.5 kB / 0.7307 GB, free: 288 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.5528, allocations: 10.12 kB / 0.7307 GB, free: 288 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.5529, allocations: 37.12 kB / 0.7307 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006092/0.5535, allocations: 37.12 kB / 0.7308 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.5536, allocations: 165.5 kB / 0.7309 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.5537, allocations: 3.938 kB / 0.7309 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.5537, allocations: 1.062 kB / 0.7309 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.5539, allocations: 47.09 kB / 0.731 GB, free: 0 / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5539, allocations: 0 / 0.731 GB, free: 0 / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.5539, allocations: 1.094 kB / 0.731 GB, free: 0 / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5539, allocations: 0 / 0.731 GB, free: 0 / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.5541, allocations: 25.25 kB / 0.731 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.5545, allocations: 255.9 kB / 0.7312 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.5546, allocations: 25.14 kB / 0.7313 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.5547, allocations: 11.97 kB / 0.7313 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.5547, allocations: 0 / 0.7313 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.5547, allocations: 36.72 kB / 0.7313 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5547, allocations: 0 / 0.7313 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002196/0.555, allocations: 45.78 kB / 0.7314 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.555, allocations: 52.56 kB / 0.7314 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.5552, allocations: 107.7 kB / 0.7315 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.5552, allocations: 26.8 kB / 0.7315 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.5553, allocations: 84.14 kB / 0.7316 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.5553, allocations: 18.78 kB / 0.7316 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.5554, allocations: 17.73 kB / 0.7316 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5555, allocations: 321 kB / 0.732 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.5556, allocations: 12.56 kB / 0.732 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.5557, allocations: 17.34 kB / 0.732 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.338e-05/0.5558, allocations: 22.5 kB / 0.732 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5558, allocations: 4 kB / 0.732 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002047/0.556, allocations: 60.7 kB / 0.7321 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.556, allocations: 5.656 kB / 0.7321 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.556, allocations: 0.6562 kB / 0.7321 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.556, allocations: 0 / 0.7321 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.5562, allocations: 11.27 kB / 0.7321 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5562, allocations: 0 / 0.7321 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.5563, allocations: 23.12 kB / 0.7321 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.5563, allocations: 2.031 kB / 0.7321 GB, free: 14.89 MB / 0.5606 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 9.118e-05/0.5564, allocations: 111.6 kB / 0.7322 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.5565, allocations: 1.859 kB / 0.7322 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.5565, allocations: 4.984 kB / 0.7322 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5565, allocations: 1.125 kB / 0.7322 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5565, allocations: 0 / 0.7322 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.5565, allocations: 4.922 kB / 0.7322 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.5567, allocations: 156.4 kB / 0.7324 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5567, allocations: 1.719 kB / 0.7324 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.5568, allocations: 3.125 kB / 0.7324 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5568, allocations: 1.094 kB / 0.7324 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5568, allocations: 0 / 0.7324 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5568, allocations: 1.062 kB / 0.7324 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5568, allocations: 3.938 kB / 0.7324 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.557, allocations: 135.5 kB / 0.7325 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.5571, allocations: 82.91 kB / 0.7326 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.5571, allocations: 1.922 kB / 0.7326 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.5572, allocations: 3.375 kB / 0.7326 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.5572, allocations: 1.781 kB / 0.7326 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.5572, allocations: 3.938 kB / 0.7326 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001213/0.5574, allocations: 92.33 kB / 0.7327 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5574, allocations: 0 / 0.7327 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002837/0.5577, allocations: 12.41 kB / 0.7327 GB, free: 14.25 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.0007399/0.5584, allocations: 0.6884 MB / 0.7334 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.5586, allocations: 17.22 kB / 0.7334 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.5586, allocations: 7.969 kB / 0.7334 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.849e-05/0.5587, allocations: 8.312 kB / 0.7334 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.5592, allocations: 15.55 kB / 0.7334 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.5598, allocations: 154 kB / 0.7336 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.5601, allocations: 0.6738 MB / 0.7342 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.844e-05/0.5602, allocations: 9.266 kB / 0.7342 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.5602, allocations: 10.84 kB / 0.7342 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.5602, allocations: 4 kB / 0.7343 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.5826, allocations: 1.559 MB / 0.7358 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.97, allocations: 10.55 kB / 0.7358 GB, free: 12.36 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)