Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_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.006224/0.006224, allocations: 98.75 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.001425/0.001426, allocations: 189.1 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8681/0.8681, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 59.52 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1538, allocations: 80.22 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002883/0.1567, allocations: 1.489 MB / 0.6606 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.3131, allocations: 132.1 MB / 0.7896 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.3132, allocations: 0 / 0.7896 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.3133, allocations: 11.92 kB / 0.7896 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.3133, allocations: 3.938 kB / 0.7896 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.3137, allocations: 71.94 kB / 0.7897 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.3138, allocations: 43.86 kB / 0.7897 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.3139, allocations: 23.91 kB / 0.7898 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.314, allocations: 23.92 kB / 0.7898 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.314, allocations: 27.86 kB / 0.7898 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3141, allocations: 4 kB / 0.7898 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.3141, allocations: 15.98 kB / 0.7898 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.3142, allocations: 11.98 kB / 0.7898 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.3142, allocations: 19.88 kB / 0.7899 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.3144, allocations: 67.67 kB / 0.7899 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3144, allocations: 0 / 0.7899 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3144, allocations: 0 / 0.7899 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3144, allocations: 0 / 0.7899 GB, free: 7.566 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.0005428/0.3149, allocations: 383.2 kB / 0.7903 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.315, allocations: 8.031 kB / 0.7903 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.315, allocations: 34.75 kB / 0.7903 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.3151, allocations: 4.891 kB / 0.7903 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3152, allocations: 164.4 kB / 0.7905 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3152, allocations: 384 / 0.7905 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.3152, allocations: 12.36 kB / 0.7905 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.3155, allocations: 74.16 kB / 0.7906 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3155, allocations: 11.88 kB / 0.7906 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.3155, allocations: 0 / 0.7906 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3155, allocations: 0 / 0.7906 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.3158, allocations: 67.92 kB / 0.7907 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.3162, allocations: 284.8 kB / 0.7909 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3165, allocations: 62.47 kB / 0.791 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3167, allocations: 40.92 kB / 0.791 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.3168, allocations: 89.09 kB / 0.7911 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3169, allocations: 34.56 kB / 0.7911 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3169, allocations: 0 / 0.7911 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005635/0.3174, allocations: 129.5 kB / 0.7913 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3175, allocations: 55.41 kB / 0.7913 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3176, allocations: 117.8 kB / 0.7914 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3176, allocations: 29.7 kB / 0.7915 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.3177, allocations: 96.02 kB / 0.7916 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3177, allocations: 11.89 kB / 0.7916 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.3178, allocations: 17.72 kB / 0.7916 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3179, allocations: 314.8 kB / 0.7919 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.3181, allocations: 35.95 kB / 0.7919 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.3182, allocations: 31.97 kB / 0.7919 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.3185, allocations: 73.05 kB / 0.792 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3185, allocations: 0 / 0.792 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003341/0.3189, allocations: 101.6 kB / 0.7921 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3189, allocations: 4 kB / 0.7921 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3189, allocations: 0 / 0.7921 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3189, allocations: 7.938 kB / 0.7921 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.319, allocations: 15.97 kB / 0.7921 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.319, allocations: 0 / 0.7921 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.3191, allocations: 19.94 kB / 0.7922 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.3192, allocations: 0 / 0.7922 GB, free: 5.027 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.7e-05/0.3192, allocations: 117.8 kB / 0.7923 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.3193, allocations: 8 kB / 0.7923 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.3197, allocations: 101.5 kB / 0.7924 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3197, allocations: 0 / 0.7924 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3197, allocations: 3.984 kB / 0.7924 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3197, allocations: 0 / 0.7924 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3199, allocations: 173.6 kB / 0.7925 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3199, allocations: 0 / 0.7925 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.32, allocations: 27.91 kB / 0.7926 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.32, allocations: 0 / 0.7926 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.32, allocations: 0 / 0.7926 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.32, allocations: 0 / 0.7926 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.32, allocations: 3.938 kB / 0.7926 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.3204, allocations: 199.4 kB / 0.7928 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3205, allocations: 85.05 kB / 0.7928 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3205, allocations: 0 / 0.7928 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3206, allocations: 15.98 kB / 0.7929 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3207, allocations: 4 kB / 0.7929 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3207, allocations: 0 / 0.7929 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.3208, allocations: 102.4 kB / 0.793 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3208, allocations: 0 / 0.793 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002338/0.321, allocations: 15.94 kB / 0.793 GB, free: 4.078 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.0007512/0.3218, allocations: 0.7435 MB / 0.7937 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.3221, allocations: 71.92 kB / 0.7938 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3221, allocations: 0 / 0.7938 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3223, allocations: 35.91 kB / 0.7938 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3226, allocations: 15.98 kB / 0.7938 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3245, allocations: 1.421 MB / 0.7952 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3249, allocations: 0.6846 MB / 0.7959 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.3249, allocations: 7.984 kB / 0.7959 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.325, allocations: 15.44 kB / 0.7959 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.325, allocations: 0 / 0.7959 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.3478, allocations: 2.07 MB / 0.7979 GB, free: 15 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.284, allocations: 0.6562 kB / 0.7979 GB, free: 15 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)