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.001253/0.001253, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001359/0.001359, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6805/0.6805, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.59 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 80.2 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002132/0.1359, allocations: 1.313 MB / 0.581 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004629/0.1364, allocations: 304.8 kB / 0.5813 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.1364, allocations: 4 kB / 0.5813 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.1364, allocations: 0 / 0.5813 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.1365, allocations: 7.922 kB / 0.5813 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1367, allocations: 43.83 kB / 0.5813 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.495e-05/0.1368, allocations: 19.92 kB / 0.5813 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.1368, allocations: 0 / 0.5813 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.135e-05/0.1368, allocations: 11.92 kB / 0.5813 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.1369, allocations: 4 kB / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1369, allocations: 4 kB / 0.5813 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.137, allocations: 63.88 kB / 0.5814 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.137, allocations: 0 / 0.5814 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.137, allocations: 11.94 kB / 0.5814 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.1372, allocations: 48.17 kB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1372, allocations: 0 / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.1372, allocations: 0 / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1372, allocations: 0 / 0.5815 GB, free: 7.188 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.0003014/0.1375, allocations: 339.4 kB / 0.5818 GB, free: 6.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1375, allocations: 8.031 kB / 0.5818 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.1376, allocations: 46.73 kB / 0.5818 GB, free: 6.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1378, allocations: 12.92 kB / 0.5818 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/0.1378, allocations: 168.3 kB / 0.582 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1379, allocations: 4.375 kB / 0.582 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.1379, allocations: 384 / 0.582 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.592e-05/0.138, allocations: 42.25 kB / 0.5821 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.138, allocations: 3.938 kB / 0.5821 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.138, allocations: 0 / 0.5821 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.138, allocations: 0 / 0.5821 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.408e-05/0.1381, allocations: 27.92 kB / 0.5821 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.1382, allocations: 153.7 kB / 0.5822 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.14, allocations: 266.5 kB / 0.5825 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.1401, allocations: 20.84 kB / 0.5825 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.1401, allocations: 11.92 kB / 0.5825 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.1401, allocations: 34.56 kB / 0.5825 GB, free: 5.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1401, allocations: 0 / 0.5825 GB, free: 5.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001337/0.1402, allocations: 65.56 kB / 0.5826 GB, free: 5.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.1403, allocations: 51.41 kB / 0.5827 GB, free: 5.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/0.1403, allocations: 97.86 kB / 0.5828 GB, free: 5.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1403, allocations: 29.7 kB / 0.5828 GB, free: 5.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.1404, allocations: 80.14 kB / 0.5829 GB, free: 5.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.1404, allocations: 7.812 kB / 0.5829 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1404, allocations: 21.7 kB / 0.5829 GB, free: 5.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.1405, allocations: 310.8 kB / 0.5832 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.1405, allocations: 8 kB / 0.5832 GB, free: 5.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.1406, allocations: 4 kB / 0.5832 GB, free: 5.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.1406, allocations: 40.91 kB / 0.5832 GB, free: 5.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1406, allocations: 0 / 0.5832 GB, free: 5.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.377e-05/0.1407, allocations: 53.69 kB / 0.5833 GB, free: 5.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1407, allocations: 10.12 kB / 0.5833 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1407, allocations: 4 kB / 0.5833 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.1407, allocations: 3.938 kB / 0.5833 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.387e-05/0.1408, allocations: 4 kB / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1408, allocations: 0 / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.1408, allocations: 0 / 0.5833 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1408, allocations: 4 kB / 0.5833 GB, free: 5.059 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 5.486e-05/0.1409, allocations: 109.8 kB / 0.5834 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.1409, allocations: 3.938 kB / 0.5834 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.141, allocations: 15.48 kB / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.141, allocations: 0 / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.141, allocations: 0 / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.141, allocations: 3.938 kB / 0.5834 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.416e-05/0.1411, allocations: 165.5 kB / 0.5836 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1411, allocations: 0 / 0.5836 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.1411, allocations: 8 kB / 0.5836 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1411, allocations: 7.938 kB / 0.5836 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1412, allocations: 0 / 0.5836 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1412, allocations: 4 kB / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1412, allocations: 0 / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.884e-05/0.1413, allocations: 73.12 kB / 0.5837 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.1413, allocations: 85.09 kB / 0.5838 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1413, allocations: 3.938 kB / 0.5838 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.069e-05/0.1414, allocations: 4 kB / 0.5838 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.1414, allocations: 8 kB / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-06/0.1414, allocations: 384 / 0.5838 GB, free: 4.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.751e-05/0.1415, allocations: 79.22 kB / 0.5839 GB, free: 4.395 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1415, allocations: 3.938 kB / 0.5839 GB, free: 4.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000175/0.1416, allocations: 8 kB / 0.5839 GB, free: 4.383 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 (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.0002831/0.1419, allocations: 0.6203 MB / 0.5845 GB, free: 3.734 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.142, allocations: 31.92 kB / 0.5845 GB, free: 3.703 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.142, allocations: 0 / 0.5845 GB, free: 3.703 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.142, allocations: 12 kB / 0.5845 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.1422, allocations: 7.984 kB / 0.5845 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.1426, allocations: 168.1 kB / 0.5847 GB, free: 3.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.1428, allocations: 0.6767 MB / 0.5853 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.343e-05/0.1428, allocations: 0 / 0.5853 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.1429, allocations: 15.44 kB / 0.5854 GB, free: 2.766 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1429, allocations: 0 / 0.5854 GB, free: 2.766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3267/0.4696, allocations: 1.21 MB / 0.5865 GB, free: 1.695 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.4699, allocations: 205.4 kB / 0.5867 GB, free: 1.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.74, allocations: 0 / 0.5867 GB, free: 1.438 MB / 494.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)