Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_TDewPoi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IDEAS_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.001411/0.001417, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001731/0.001731, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6943/0.6943, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 55.97 kB / 0.5014 GB, free: 8.988 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1327, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002547/0.1353, allocations: 1.325 MB / 0.581 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1366, allocations: 0.8748 MB / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1366, allocations: 0 / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1367, allocations: 0 / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.321e-05/0.1367, allocations: 11.91 kB / 0.5818 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.1373, allocations: 178.6 kB / 0.582 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.1374, allocations: 15.94 kB / 0.582 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.1374, allocations: 3.984 kB / 0.582 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.1374, allocations: 4 kB / 0.582 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/0.1375, allocations: 7.938 kB / 0.582 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.1375, allocations: 4 kB / 0.5821 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.1378, allocations: 199.7 kB / 0.5822 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.1378, allocations: 3.984 kB / 0.5822 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.1379, allocations: 7.938 kB / 0.5823 GB, free: 6.367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1381, allocations: 143.8 kB / 0.5824 GB, free: 6.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1381, allocations: 0 / 0.5824 GB, free: 6.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1381, allocations: 4 kB / 0.5824 GB, free: 6.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1381, allocations: 0 / 0.5824 GB, free: 6.223 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.0003929/0.1385, allocations: 359.4 kB / 0.5827 GB, free: 5.824 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1386, allocations: 15.97 kB / 0.5828 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1386, allocations: 34.75 kB / 0.5828 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.1388, allocations: 8.922 kB / 0.5828 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.813e-05/0.1389, allocations: 160.4 kB / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.1389, allocations: 384 / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1389, allocations: 11.94 kB / 0.583 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.139, allocations: 45.67 kB / 0.583 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.1391, allocations: 3.938 kB / 0.583 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1391, allocations: 0 / 0.583 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1391, allocations: 0 / 0.583 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.704e-05/0.1391, allocations: 15.98 kB / 0.583 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.1393, allocations: 149.7 kB / 0.5832 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009228/0.1402, allocations: 142.5 kB / 0.5833 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.1402, allocations: 20.84 kB / 0.5833 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-05/0.1403, allocations: 89.09 kB / 0.5834 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1404, allocations: 38.48 kB / 0.5834 GB, free: 4.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1404, allocations: 0 / 0.5834 GB, free: 4.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001489/0.1405, allocations: 69.62 kB / 0.5835 GB, free: 4.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1406, allocations: 51.41 kB / 0.5836 GB, free: 4.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.473e-05/0.1406, allocations: 89.86 kB / 0.5836 GB, free: 4.727 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1406, allocations: 29.7 kB / 0.5837 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.019e-05/0.1407, allocations: 80.14 kB / 0.5837 GB, free: 4.609 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1407, allocations: 15.8 kB / 0.5838 GB, free: 4.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1407, allocations: 13.72 kB / 0.5838 GB, free: 4.574 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.1408, allocations: 315 kB / 0.5841 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.1408, allocations: 8 kB / 0.5841 GB, free: 4.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.1409, allocations: 15.98 kB / 0.5841 GB, free: 4.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.4e-05/0.1409, allocations: 24.8 kB / 0.5841 GB, free: 4.207 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1409, allocations: 0 / 0.5841 GB, free: 4.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.98e-05/0.141, allocations: 57.62 kB / 0.5842 GB, free: 4.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.141, allocations: 8 kB / 0.5842 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.141, allocations: 0 / 0.5842 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1411, allocations: 7.938 kB / 0.5842 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.1411, allocations: 7.984 kB / 0.5842 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1411, allocations: 4 kB / 0.5842 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.1412, allocations: 7.938 kB / 0.5842 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1412, allocations: 0 / 0.5842 GB, free: 4.109 MB / 494.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 6.003e-05/0.1412, allocations: 113.7 kB / 0.5843 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.1413, allocations: 7.906 kB / 0.5843 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.1415, allocations: 77.17 kB / 0.5844 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1415, allocations: 0 / 0.5844 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1415, allocations: 4 kB / 0.5844 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1415, allocations: 0 / 0.5844 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.39e-05/0.1416, allocations: 157.6 kB / 0.5846 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1416, allocations: 0 / 0.5846 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.1417, allocations: 15.98 kB / 0.5846 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1417, allocations: 0 / 0.5846 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1417, allocations: 0 / 0.5846 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1417, allocations: 4 kB / 0.5846 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1417, allocations: 4 kB / 0.5846 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1418, allocations: 89 kB / 0.5847 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.1419, allocations: 81.09 kB / 0.5847 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1419, allocations: 0 / 0.5847 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.1419, allocations: 4 kB / 0.5847 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.142, allocations: 4.266 kB / 0.5847 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.142, allocations: 8 kB / 0.5848 GB, free: 3.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.766e-05/0.142, allocations: 79.28 kB / 0.5848 GB, free: 3.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.142, allocations: 0 / 0.5848 GB, free: 3.363 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1423, allocations: 47.98 kB / 0.5849 GB, free: 3.316 MB / 494.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 (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.0005475/0.1428, allocations: 0.7069 MB / 0.5856 GB, free: 2.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.1429, allocations: 27.98 kB / 0.5856 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1429, allocations: 0 / 0.5856 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.995e-05/0.1429, allocations: 19.94 kB / 0.5856 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.1431, allocations: 7.922 kB / 0.5856 GB, free: 2.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.1435, allocations: 184.2 kB / 0.5858 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.1437, allocations: 0.6768 MB / 0.5865 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.1438, allocations: 11.97 kB / 0.5865 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.1438, allocations: 15.44 kB / 0.5865 GB, free: 1.598 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1438, allocations: 4 kB / 0.5865 GB, free: 1.594 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/1.181, allocations: 1.841 MB / 0.5883 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/1.182, allocations: 255.5 kB / 0.5885 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/4.255, allocations: 2.625 kB / 0.5885 GB, free: 15.66 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)