Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.004253/0.004253, allocations: 97.92 kB / 15.73 MB, free: 6.004 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.001125/0.001125, allocations: 197.7 kB / 16.67 MB, free: 5.922 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.5 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 0.5858 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4146, allocations: 81.01 MB / 0.6649 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001986/0.4167, allocations: 1.274 MB / 0.6661 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.4178, allocations: 0.8603 MB / 0.6669 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.4179, allocations: 0 / 0.6669 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.4179, allocations: 0 / 0.6669 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.418, allocations: 9.078 kB / 0.667 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.4186, allocations: 196.3 kB / 0.6671 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.4187, allocations: 28.55 kB / 0.6672 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.4187, allocations: 1.25 kB / 0.6672 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.4187, allocations: 4.75 kB / 0.6672 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.4188, allocations: 11.2 kB / 0.6672 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.4188, allocations: 1.188 kB / 0.6672 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.4192, allocations: 236.3 kB / 0.6674 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.4192, allocations: 5.25 kB / 0.6674 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.4192, allocations: 7.875 kB / 0.6674 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.4195, allocations: 149 kB / 0.6676 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4195, allocations: 7.984 kB / 0.6676 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4195, allocations: 0 / 0.6676 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.4195, allocations: 0 / 0.6676 GB, free: 5.004 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.0003314/0.4198, allocations: 353.2 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4199, allocations: 8.906 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.4199, allocations: 35.91 kB / 0.668 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.4201, allocations: 13.75 kB / 0.668 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.863e-05/0.4201, allocations: 169.5 kB / 0.6681 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4202, allocations: 5.656 kB / 0.6681 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.4202, allocations: 9.094 kB / 0.6681 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.4203, allocations: 45.23 kB / 0.6682 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4203, allocations: 3.984 kB / 0.6682 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4203, allocations: 0 / 0.6682 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4203, allocations: 1.469 kB / 0.6682 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.4204, allocations: 16.23 kB / 0.6682 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.4205, allocations: 159 kB / 0.6684 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.4213, allocations: 141.5 kB / 0.6685 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.4214, allocations: 20.64 kB / 0.6685 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.311e-05/0.4215, allocations: 83.3 kB / 0.6686 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.4215, allocations: 34.55 kB / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4215, allocations: 5.25 kB / 0.6686 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001616/0.4217, allocations: 57.38 kB / 0.6687 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.4217, allocations: 55.34 kB / 0.6687 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.68e-05/0.4218, allocations: 96.42 kB / 0.6688 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.4218, allocations: 25.7 kB / 0.6689 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.157e-05/0.4218, allocations: 80.14 kB / 0.6689 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.4218, allocations: 14.58 kB / 0.6689 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.4218, allocations: 17.53 kB / 0.669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.171e-05/0.4219, allocations: 315 kB / 0.6693 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.4219, allocations: 8.156 kB / 0.6693 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.4219, allocations: 9.266 kB / 0.6693 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.857e-05/0.422, allocations: 32.58 kB / 0.6693 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.422, allocations: 0 / 0.6693 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.354e-05/0.4221, allocations: 57.09 kB / 0.6694 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4221, allocations: 9.5 kB / 0.6694 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.4221, allocations: 0 / 0.6694 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4221, allocations: 1.469 kB / 0.6694 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.4222, allocations: 13.48 kB / 0.6694 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.4222, allocations: 0 / 0.6694 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.4222, allocations: 5.406 kB / 0.6694 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4222, allocations: 1.344 kB / 0.6694 GB, free: 3.117 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 4.664e-05/0.4223, allocations: 111.3 kB / 0.6695 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.4223, allocations: 5.109 kB / 0.6695 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.4225, allocations: 86.23 kB / 0.6696 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4226, allocations: 1.031 kB / 0.6696 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4226, allocations: 1.062 kB / 0.6696 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4226, allocations: 8.25 kB / 0.6696 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.093e-05/0.4226, allocations: 160 kB / 0.6697 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4226, allocations: 0 / 0.6697 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.4227, allocations: 6.844 kB / 0.6698 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4227, allocations: 1.312 kB / 0.6698 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4227, allocations: 7.938 kB / 0.6698 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4227, allocations: 1.281 kB / 0.6698 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4227, allocations: 3.984 kB / 0.6698 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.4228, allocations: 85.31 kB / 0.6699 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.4229, allocations: 87.47 kB / 0.6699 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.4229, allocations: 0 / 0.6699 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.4229, allocations: 1.312 kB / 0.6699 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.423, allocations: 2.812 kB / 0.6699 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.423, allocations: 9.188 kB / 0.6699 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.602e-05/0.423, allocations: 80.69 kB / 0.67 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.423, allocations: 0 / 0.67 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002382/0.4232, allocations: 52.14 kB / 0.6701 GB, free: 2.414 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 (5): * Single equations (assignments): 5 * 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.000511/0.4238, allocations: 0.6938 MB / 0.6708 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.4239, allocations: 27.48 kB / 0.6708 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4239, allocations: 0 / 0.6708 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.493e-05/0.4239, allocations: 15.16 kB / 0.6708 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.4241, allocations: 10.77 kB / 0.6708 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.4245, allocations: 177.1 kB / 0.671 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.831e-05/0.4246, allocations: 0.6767 MB / 0.6716 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.036e-05/0.4247, allocations: 13.11 kB / 0.6716 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.4247, allocations: 9.969 kB / 0.6717 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4247, allocations: 4.938 kB / 0.6717 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.4487, allocations: 1.964 MB / 0.6736 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.625, allocations: 5.375 kB / 0.6736 GB, free: 15.78 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)