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.001359/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001692/0.001692, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8092/0.8092, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 60.78 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 80.94 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001949/0.1356, allocations: 1.306 MB / 0.5851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1368, allocations: 0.9177 MB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.1368, allocations: 0 / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.1369, allocations: 7.922 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.61e-05/0.1369, allocations: 3.984 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1374, allocations: 154.6 kB / 0.5862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.726e-05/0.1374, allocations: 15.88 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.1374, allocations: 11.98 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.1375, allocations: 4 kB / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.1375, allocations: 3.938 kB / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.1375, allocations: 4 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.1378, allocations: 191.8 kB / 0.5864 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.1378, allocations: 4 kB / 0.5864 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.1379, allocations: 15.92 kB / 0.5864 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1381, allocations: 148 kB / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1381, allocations: 0 / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1381, allocations: 0 / 0.5865 GB, free: 2.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.1381, allocations: 0 / 0.5865 GB, free: 2.098 MB / 494.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.0003258/0.1384, allocations: 355.5 kB / 0.5869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1385, allocations: 12.03 kB / 0.5869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.1385, allocations: 38.62 kB / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.1387, allocations: 8.922 kB / 0.5869 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.853e-05/0.1387, allocations: 164.4 kB / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1388, allocations: 4.375 kB / 0.5871 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1388, allocations: 7.938 kB / 0.5871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.1389, allocations: 45.67 kB / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.1389, allocations: 0 / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1389, allocations: 0 / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1389, allocations: 0 / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/0.1389, allocations: 12 kB / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.1391, allocations: 161.6 kB / 0.5873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.14, allocations: 138.5 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.14, allocations: 24.84 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.482e-05/0.1401, allocations: 85.11 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.1402, allocations: 34.56 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1402, allocations: 0 / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001475/0.1403, allocations: 69.61 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.1403, allocations: 51.41 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.1404, allocations: 89.86 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1404, allocations: 29.7 kB / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.1404, allocations: 80.14 kB / 0.5879 GB, free: 500 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.1405, allocations: 15.73 kB / 0.5879 GB, free: 484 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.1405, allocations: 25.83 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.1406, allocations: 310.8 kB / 0.5882 GB, free: 132 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.1406, allocations: 8 kB / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.1406, allocations: 15.98 kB / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.1407, allocations: 20.86 kB / 0.5883 GB, free: 84 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1407, allocations: 0 / 0.5883 GB, free: 84 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.57e-05/0.1408, allocations: 57.84 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1408, allocations: 8 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1408, allocations: 0 / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1408, allocations: 8.031 kB / 0.5883 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.1409, allocations: 15.92 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1409, allocations: 4 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.1409, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1409, allocations: 0 / 0.5884 GB, free: 15.98 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 5.853e-05/0.141, allocations: 113.8 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.141, allocations: 3.906 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.1412, allocations: 81.11 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1412, allocations: 64 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1413, allocations: 8 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1413, allocations: 0 / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.932e-05/0.1414, allocations: 157.6 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1414, allocations: 0 / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.1414, allocations: 11.98 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1414, allocations: 4 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.1414, allocations: 0 / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1414, allocations: 7.938 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1414, allocations: 0 / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.1416, allocations: 89.06 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.1416, allocations: 85.03 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1416, allocations: 3.938 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.1417, allocations: 4 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.1417, allocations: 4 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.1417, allocations: 4 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.908e-05/0.1417, allocations: 75.28 kB / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1417, allocations: 0 / 0.589 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002182/0.142, allocations: 47.98 kB / 0.589 GB, free: 15.19 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.0004939/0.1425, allocations: 0.6859 MB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.1426, allocations: 31.92 kB / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1426, allocations: 0 / 0.5897 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.1426, allocations: 16 kB / 0.5897 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.1427, allocations: 7.984 kB / 0.5897 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.1431, allocations: 174.3 kB / 0.5899 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.1433, allocations: 0.6809 MB / 0.5906 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6e-05/0.1434, allocations: 15.98 kB / 0.5906 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.1434, allocations: 7.438 kB / 0.5906 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1434, allocations: 0 / 0.5906 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/0.3572, allocations: 1.808 MB / 0.5924 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.3574, allocations: 246.5 kB / 0.5926 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.518, allocations: 0 / 0.5926 GB, free: 11.57 MB / 0.4981 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)