Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_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.006933/0.006933, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001812/0.001812, allocations: 191.6 kB / 16.67 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8761/0.8761, allocations: 135.6 MB / 426.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 76.92 kB / 0.5857 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.183, allocations: 81.02 MB / 0.6649 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002578/0.1857, allocations: 1.264 MB / 0.6661 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.187, allocations: 0.8267 MB / 0.6669 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.1871, allocations: 4 kB / 0.6669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.1871, allocations: 3.938 kB / 0.6669 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.1872, allocations: 7.969 kB / 0.6669 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.1877, allocations: 123.4 kB / 0.667 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.179e-05/0.1878, allocations: 27.86 kB / 0.6671 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.1878, allocations: 8 kB / 0.6671 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.1879, allocations: 15.91 kB / 0.6671 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.1879, allocations: 12 kB / 0.6671 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1879, allocations: 4 kB / 0.6671 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000361/0.1883, allocations: 159.8 kB / 0.6673 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.1883, allocations: 11.92 kB / 0.6673 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.1884, allocations: 8 kB / 0.6673 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1886, allocations: 123.8 kB / 0.6674 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1887, allocations: 4 kB / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.582e-06/0.1887, allocations: 0 / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1887, allocations: 0 / 0.6674 GB, free: 3.016 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.0005247/0.1892, allocations: 375.1 kB / 0.6678 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1893, allocations: 9.109 kB / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.1893, allocations: 30.75 kB / 0.6678 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.1893, allocations: 4.938 kB / 0.6678 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1895, allocations: 160.4 kB / 0.668 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/0.1896, allocations: 30.27 kB / 0.668 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1896, allocations: 4.375 kB / 0.668 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1897, allocations: 45.98 kB / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1898, allocations: 0 / 0.668 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1898, allocations: 4 kB / 0.668 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1898, allocations: 8 kB / 0.668 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1899, allocations: 15.92 kB / 0.6681 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.1901, allocations: 161.7 kB / 0.6682 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1903, allocations: 42.55 kB / 0.6683 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.1904, allocations: 20.94 kB / 0.6683 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.1907, allocations: 182.2 kB / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1907, allocations: 42.44 kB / 0.6685 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1907, allocations: 0 / 0.6685 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002465/0.191, allocations: 69.56 kB / 0.6686 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.191, allocations: 55.41 kB / 0.6686 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.1911, allocations: 93.86 kB / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1911, allocations: 29.7 kB / 0.6687 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.1912, allocations: 80.14 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1912, allocations: 19.84 kB / 0.6688 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1913, allocations: 17.7 kB / 0.6688 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1914, allocations: 314.8 kB / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.1915, allocations: 7.984 kB / 0.6691 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.212e-05/0.1915, allocations: 12 kB / 0.6692 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.1916, allocations: 32.78 kB / 0.6692 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1916, allocations: 0 / 0.6692 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001393/0.1918, allocations: 57.69 kB / 0.6692 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1918, allocations: 7.938 kB / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1918, allocations: 0 / 0.6692 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1918, allocations: 7.922 kB / 0.6693 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.1919, allocations: 8 kB / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1919, allocations: 0 / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.1919, allocations: 0 / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1919, allocations: 8 kB / 0.6693 GB, free: 0.8203 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 7.636e-05/0.192, allocations: 105.8 kB / 0.6694 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.192, allocations: 7.938 kB / 0.6694 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.1922, allocations: 81.05 kB / 0.6695 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1923, allocations: 0 / 0.6695 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1923, allocations: 0 / 0.6695 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1923, allocations: 4 kB / 0.6695 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.1924, allocations: 153.7 kB / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1924, allocations: 4 kB / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.1925, allocations: 8.562 kB / 0.6696 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1925, allocations: 3.938 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1925, allocations: 0 / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1925, allocations: 0 / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1925, allocations: 0 / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.1927, allocations: 89.03 kB / 0.6697 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.1928, allocations: 89.03 kB / 0.6698 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1928, allocations: 4 kB / 0.6698 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.1928, allocations: 4 kB / 0.6698 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.1929, allocations: 4 kB / 0.6698 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.1929, allocations: 3.984 kB / 0.6698 GB, free: 164 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.1929, allocations: 79.28 kB / 0.6699 GB, free: 84 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1929, allocations: 3.938 kB / 0.6699 GB, free: 80 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002434/0.1932, allocations: 39.81 kB / 0.6699 GB, free: 40 kB / 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.0006263/0.1938, allocations: 0.6631 MB / 0.6706 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.194, allocations: 23.98 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.194, allocations: 0 / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.1941, allocations: 23.92 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.1943, allocations: 4 kB / 0.6706 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.1947, allocations: 176.5 kB / 0.6708 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.195, allocations: 0.6768 MB / 0.6715 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.1951, allocations: 11.98 kB / 0.6715 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1951, allocations: 7.438 kB / 0.6715 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1951, allocations: 0 / 0.6715 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.2191, allocations: 1.931 MB / 0.6734 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.374, allocations: 17.23 kB / 0.6734 GB, free: 12.51 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)