Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001332/0.001332, allocations: 104 kB / 15.6 MB, free: 148 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.001333/0.001333, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.53/1.53, allocations: 222.9 MB / 240.2 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.7594/0.7594, allocations: 132.2 MB / 422.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002007, allocations: 59.59 kB / 0.5019 GB, free: 3.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 80.21 MB / 0.5802 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002112/0.3888, allocations: 1.261 MB / 0.5814 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004719/0.3893, allocations: 299.4 kB / 0.5817 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.3893, allocations: 0.7812 kB / 0.5817 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.3894, allocations: 0 / 0.5817 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.3894, allocations: 6.141 kB / 0.5817 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3897, allocations: 47.72 kB / 0.5818 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.3897, allocations: 22.39 kB / 0.5818 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.3898, allocations: 6.688 kB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.3898, allocations: 8.625 kB / 0.5818 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.3899, allocations: 8.328 kB / 0.5818 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.3899, allocations: 0.9688 kB / 0.5818 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.39, allocations: 53.97 kB / 0.5819 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.39, allocations: 1.953 kB / 0.5819 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.39, allocations: 12.09 kB / 0.5819 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.3902, allocations: 48.06 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3902, allocations: 0 / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3902, allocations: 0 / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3902, allocations: 4.906 kB / 0.5819 GB, free: 3.371 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002596/0.3905, allocations: 339 kB / 0.5822 GB, free: 3.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3905, allocations: 10.12 kB / 0.5823 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.081e-05/0.3905, allocations: 32.38 kB / 0.5823 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.3908, allocations: 17.62 kB / 0.5823 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.82e-05/0.3908, allocations: 166.6 kB / 0.5825 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3908, allocations: 9.25 kB / 0.5825 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.3909, allocations: 1.25 kB / 0.5825 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.3909, allocations: 45.31 kB / 0.5825 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.391, allocations: 5.938 kB / 0.5825 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.391, allocations: 0 / 0.5825 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.391, allocations: 0.5938 kB / 0.5825 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.391, allocations: 15.81 kB / 0.5825 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.3911, allocations: 157.5 kB / 0.5827 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.3931, allocations: 269.2 kB / 0.5829 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.3931, allocations: 18.55 kB / 0.583 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.3931, allocations: 1.406 kB / 0.583 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.3931, allocations: 35.98 kB / 0.583 GB, free: 2.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3931, allocations: 4 kB / 0.583 GB, free: 2.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000147/0.3933, allocations: 61.67 kB / 0.5831 GB, free: 2.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.3933, allocations: 53.3 kB / 0.5831 GB, free: 2.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.317e-05/0.3934, allocations: 96.16 kB / 0.5832 GB, free: 2.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.3934, allocations: 25.7 kB / 0.5832 GB, free: 2.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-06/0.3934, allocations: 84.08 kB / 0.5833 GB, free: 2.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3934, allocations: 16.28 kB / 0.5833 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.3935, allocations: 20.61 kB / 0.5833 GB, free: 2.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.3935, allocations: 317.5 kB / 0.5836 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.3935, allocations: 8.703 kB / 0.5837 GB, free: 1.734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.3935, allocations: 9.938 kB / 0.5837 GB, free: 1.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.3936, allocations: 25.72 kB / 0.5837 GB, free: 1.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3936, allocations: 4.75 kB / 0.5837 GB, free: 1.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.296e-05/0.3937, allocations: 56.05 kB / 0.5837 GB, free: 1.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3937, allocations: 12.7 kB / 0.5838 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3937, allocations: 3.938 kB / 0.5838 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3937, allocations: 0 / 0.5838 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.3938, allocations: 14.08 kB / 0.5838 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3938, allocations: 1.688 kB / 0.5838 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.3938, allocations: 1.188 kB / 0.5838 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3938, allocations: 1.125 kB / 0.5838 GB, free: 1.652 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 (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 4.258e-05/0.3939, allocations: 112.7 kB / 0.5839 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.3939, allocations: 9 kB / 0.5839 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.3939, allocations: 8.25 kB / 0.5839 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3939, allocations: 1.062 kB / 0.5839 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3939, allocations: 0.5156 kB / 0.5839 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.394, allocations: 5.719 kB / 0.5839 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.502e-05/0.394, allocations: 160.8 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.394, allocations: 1.844 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.3941, allocations: 6.062 kB / 0.5841 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3941, allocations: 4.641 kB / 0.5841 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.3941, allocations: 0 / 0.5841 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3941, allocations: 1.375 kB / 0.5841 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3941, allocations: 0 / 0.5841 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.176e-05/0.3942, allocations: 84.66 kB / 0.5842 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.3942, allocations: 80 kB / 0.5842 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3943, allocations: 10.09 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.3943, allocations: 1.984 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.3943, allocations: 1.531 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3943, allocations: 2.344 kB / 0.5842 GB, free: 1.129 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.381e-05/0.3944, allocations: 76.56 kB / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3944, allocations: 0 / 0.5843 GB, free: 1.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.3946, allocations: 5.469 kB / 0.5843 GB, free: 1.055 MB / 430.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 (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.000227/0.3948, allocations: 0.6196 MB / 0.5849 GB, free: 456 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.048e-05/0.3949, allocations: 26.11 kB / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3949, allocations: 0 / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.3949, allocations: 14.58 kB / 0.585 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3952, allocations: 11.75 kB / 0.585 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.3955, allocations: 157.5 kB / 0.5851 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.3957, allocations: 0.6746 MB / 0.5858 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.025e-05/0.3958, allocations: 11.23 kB / 0.5858 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.3958, allocations: 17.48 kB / 0.5858 GB, free: 15.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3958, allocations: 0 / 0.5858 GB, free: 15.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.4202, allocations: 1.276 MB / 0.5871 GB, free: 15.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.885, allocations: 5.531 kB / 0.5871 GB, free: 15.21 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)