Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.001511/0.001511, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001596/0.001596, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.251/2.251, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.342/1.342, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004676, allocations: 8 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.979/0.9795, allocations: 81.57 MB / 0.5829 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002544/0.9822, allocations: 1.189 MB / 0.5841 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.9839, allocations: 0.6709 MB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.984, allocations: 0.9688 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.9841, allocations: 4.688 kB / 0.5848 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.9842, allocations: 7.562 kB / 0.5848 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.9849, allocations: 101.4 kB / 0.5849 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.9851, allocations: 40.14 kB / 0.5849 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.9853, allocations: 16.62 kB / 0.5849 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.9854, allocations: 10.42 kB / 0.5849 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.9855, allocations: 27.64 kB / 0.585 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.9855, allocations: 6.062 kB / 0.585 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.9862, allocations: 170.7 kB / 0.5851 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.9863, allocations: 3.328 kB / 0.5851 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.9863, allocations: 32.55 kB / 0.5852 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.9867, allocations: 96.77 kB / 0.5853 GB, free: 2.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9868, allocations: 1.062 kB / 0.5853 GB, free: 2.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.648e-06/0.9868, allocations: 4 kB / 0.5853 GB, free: 2.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.9868, allocations: 0 / 0.5853 GB, free: 2.496 MB / 430.1 MB 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.0008324/0.9876, allocations: 402 kB / 0.5856 GB, free: 2.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.881e-05/0.9877, allocations: 9.75 kB / 0.5857 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.9878, allocations: 32.77 kB / 0.5857 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.9878, allocations: 15.59 kB / 0.5857 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.988, allocations: 166.6 kB / 0.5859 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.988, allocations: 5.75 kB / 0.5859 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.9881, allocations: 3.062 kB / 0.5859 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.9886, allocations: 80.39 kB / 0.5859 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.9886, allocations: 4 kB / 0.586 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.9886, allocations: 0.875 kB / 0.586 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.9886, allocations: 1.062 kB / 0.586 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.9892, allocations: 93.45 kB / 0.586 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.9898, allocations: 286.7 kB / 0.5863 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.9901, allocations: 68.61 kB / 0.5864 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.9904, allocations: 89.45 kB / 0.5865 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.9904, allocations: 40.08 kB / 0.5865 GB, free: 1.328 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.9904, allocations: 1 kB / 0.5865 GB, free: 1.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009006/0.9913, allocations: 169.9 kB / 0.5867 GB, free: 1.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.9914, allocations: 52.11 kB / 0.5867 GB, free: 1.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.9916, allocations: 120.8 kB / 0.5868 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.9916, allocations: 25.7 kB / 0.5869 GB, free: 1.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.9917, allocations: 88.2 kB / 0.5869 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.9917, allocations: 18.31 kB / 0.587 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.9918, allocations: 0 / 0.587 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9919, allocations: 314.6 kB / 0.5873 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.9922, allocations: 40.39 kB / 0.5873 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.9924, allocations: 50.02 kB / 0.5873 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.9926, allocations: 48.14 kB / 0.5874 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9927, allocations: 0 / 0.5874 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005514/0.9932, allocations: 122.5 kB / 0.5875 GB, free: 0.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.9933, allocations: 5.438 kB / 0.5875 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9933, allocations: 1 kB / 0.5875 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.9933, allocations: 3.953 kB / 0.5875 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.9935, allocations: 21.17 kB / 0.5875 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.9935, allocations: 1.188 kB / 0.5875 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.9937, allocations: 20.05 kB / 0.5876 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.9937, allocations: 5.188 kB / 0.5876 GB, free: 0.5703 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.9938, allocations: 114.5 kB / 0.5877 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.9939, allocations: 7.172 kB / 0.5877 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.9945, allocations: 133.2 kB / 0.5878 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.9945, allocations: 1.875 kB / 0.5878 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.9945, allocations: 3.953 kB / 0.5878 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9945, allocations: 0.6562 kB / 0.5878 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.9947, allocations: 173.5 kB / 0.588 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9948, allocations: 0 / 0.588 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.9949, allocations: 20.38 kB / 0.588 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.9949, allocations: 4.688 kB / 0.588 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.9949, allocations: 2.156 kB / 0.588 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.995, allocations: 3.984 kB / 0.588 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.995, allocations: 0.7031 kB / 0.588 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.9956, allocations: 230.3 kB / 0.5882 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.9957, allocations: 79.28 kB / 0.5883 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.9957, allocations: 0.8906 kB / 0.5883 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.9959, allocations: 15.92 kB / 0.5883 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.996, allocations: 8.562 kB / 0.5883 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.996, allocations: 1.469 kB / 0.5883 GB, free: 15.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.9961, allocations: 99.53 kB / 0.5884 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9962, allocations: 0 / 0.5884 GB, free: 15.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005235/0.9967, allocations: 31.42 kB / 0.5885 GB, free: 15.83 MB / 446.1 MB 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 (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.001431/0.9981, allocations: 0.7807 MB / 0.5892 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.9988, allocations: 94.47 kB / 0.5893 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9988, allocations: 0.5625 kB / 0.5893 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.9991, allocations: 47.89 kB / 0.5894 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.9995, allocations: 15.33 kB / 0.5894 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/1.002, allocations: 0.5773 MB / 0.5899 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/1.002, allocations: 0.6897 MB / 0.5906 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.156e-05/1.002, allocations: 3.312 kB / 0.5906 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/1.002, allocations: 14.31 kB / 0.5906 GB, free: 14 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/1.002, allocations: 1.469 kB / 0.5906 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/1.025, allocations: 2.064 MB / 0.5926 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/1.025, allocations: 173.6 kB / 0.5928 GB, free: 13.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.873, allocations: 4 kB / 0.5928 GB, free: 13.55 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: