Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_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.007559/0.007559, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.001685/0.001685, allocations: 195.3 kB / 16.68 MB, free: 5.918 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8235/0.8235, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 66.14 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1824, allocations: 80.22 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002628/0.185, allocations: 1.25 MB / 0.6604 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1865, allocations: 0.8524 MB / 0.6612 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.1866, allocations: 4 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.1866, allocations: 0 / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.47e-05/0.1867, allocations: 3.938 kB / 0.6613 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.1873, allocations: 123.4 kB / 0.6614 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.1874, allocations: 23.91 kB / 0.6614 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.1874, allocations: 7.984 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.1875, allocations: 11.94 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.1875, allocations: 11.98 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1876, allocations: 4 kB / 0.6614 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.1879, allocations: 167.8 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.188, allocations: 3.938 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.188, allocations: 11.94 kB / 0.6616 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.1883, allocations: 119.2 kB / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.1883, allocations: 0 / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1883, allocations: 0 / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1883, allocations: 0 / 0.6617 GB, free: 8.148 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005052/0.1888, allocations: 367.7 kB / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1889, allocations: 12.03 kB / 0.6621 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.1889, allocations: 38.75 kB / 0.6621 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.189, allocations: 8.844 kB / 0.6621 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1891, allocations: 160.4 kB / 0.6623 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-05/0.1892, allocations: 34.25 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.1892, allocations: 384 / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1894, allocations: 49.94 kB / 0.6624 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1894, allocations: 0 / 0.6624 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1894, allocations: 4 kB / 0.6624 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1894, allocations: 0 / 0.6624 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.1895, allocations: 19.98 kB / 0.6624 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1897, allocations: 153.7 kB / 0.6625 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1899, allocations: 46.61 kB / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.19, allocations: 20.94 kB / 0.6626 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.1903, allocations: 186.2 kB / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1904, allocations: 38.44 kB / 0.6628 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1904, allocations: 0 / 0.6628 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002681/0.1906, allocations: 65.67 kB / 0.6629 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1907, allocations: 51.41 kB / 0.6629 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.1908, allocations: 101.9 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1908, allocations: 25.7 kB / 0.663 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.1909, allocations: 84.12 kB / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1909, allocations: 19.75 kB / 0.6631 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1909, allocations: 13.72 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1911, allocations: 318.8 kB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.1911, allocations: 7.984 kB / 0.6635 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.344e-05/0.1912, allocations: 8 kB / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.242e-05/0.1913, allocations: 36.78 kB / 0.6635 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1913, allocations: 0 / 0.6635 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001382/0.1914, allocations: 57.67 kB / 0.6636 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1915, allocations: 7.938 kB / 0.6636 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1915, allocations: 0 / 0.6636 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1915, allocations: 0 / 0.6636 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.1916, allocations: 12 kB / 0.6636 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1916, allocations: 0 / 0.6636 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.1916, allocations: 7.844 kB / 0.6636 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1916, allocations: 11.98 kB / 0.6636 GB, free: 5.941 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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.184e-05/0.1917, allocations: 109.8 kB / 0.6637 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.1917, allocations: 3.938 kB / 0.6637 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.1919, allocations: 65.17 kB / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1919, allocations: 0 / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.192, allocations: 0 / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.192, allocations: 0 / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1921, allocations: 165.7 kB / 0.6639 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1921, allocations: 4 kB / 0.6639 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.1922, allocations: 7.984 kB / 0.6639 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1922, allocations: 7.938 kB / 0.6639 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1922, allocations: 0 / 0.6639 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1922, allocations: 4 kB / 0.664 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1922, allocations: 0 / 0.664 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1924, allocations: 81.62 kB / 0.664 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.1925, allocations: 88.94 kB / 0.6641 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1925, allocations: 8 kB / 0.6641 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.911e-05/0.1925, allocations: 48 / 0.6641 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1926, allocations: 15.97 kB / 0.6641 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1926, allocations: 0 / 0.6641 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.1926, allocations: 75.28 kB / 0.6642 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1927, allocations: 4 kB / 0.6642 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002396/0.1929, allocations: 27.94 kB / 0.6642 GB, free: 5.176 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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.0005975/0.1935, allocations: 0.6592 MB / 0.6649 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.1937, allocations: 27.98 kB / 0.6649 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1937, allocations: 0 / 0.6649 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.1937, allocations: 15.98 kB / 0.6649 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.194, allocations: 20.27 kB / 0.6649 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.1945, allocations: 180.6 kB / 0.6651 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1948, allocations: 0.6768 MB / 0.6658 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.1948, allocations: 8 kB / 0.6658 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.1949, allocations: 11.44 kB / 0.6658 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1949, allocations: 0 / 0.6658 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.213, allocations: 1.927 MB / 0.6677 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/7.768, allocations: 15.41 kB / 0.6677 GB, free: 1.672 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)