Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.001153/0.001153, 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.00123/0.00123, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.178/1.178, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6901/0.6901, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 60.22 kB / 0.5014 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1265, allocations: 80.21 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00205/0.1286, allocations: 1.298 MB / 0.581 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003982/0.129, allocations: 244.9 kB / 0.5812 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.233e-05/0.129, allocations: 0 / 0.5812 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.129, allocations: 0 / 0.5812 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.389e-05/0.1291, allocations: 3.938 kB / 0.5812 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1293, allocations: 35.89 kB / 0.5812 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.1294, allocations: 19.92 kB / 0.5813 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.1294, allocations: 7.984 kB / 0.5813 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.1294, allocations: 4 kB / 0.5813 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.1295, allocations: 15.92 kB / 0.5813 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.1295, allocations: 4 kB / 0.5813 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.1296, allocations: 43.95 kB / 0.5813 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1296, allocations: 4 kB / 0.5813 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.1296, allocations: 4 kB / 0.5813 GB, free: 7.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.402e-05/0.1297, allocations: 48.16 kB / 0.5814 GB, free: 7.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1297, allocations: 0 / 0.5814 GB, free: 7.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1297, allocations: 0 / 0.5814 GB, free: 7.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.1298, allocations: 0 / 0.5814 GB, free: 7.266 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003035/0.1301, allocations: 331.5 kB / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1301, allocations: 16.03 kB / 0.5817 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.1301, allocations: 34.75 kB / 0.5817 GB, free: 6.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1303, allocations: 12.83 kB / 0.5818 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.1303, allocations: 164.4 kB / 0.5819 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1304, allocations: 384 / 0.5819 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1304, allocations: 384 / 0.5819 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.773e-05/0.1305, allocations: 58.19 kB / 0.582 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1305, allocations: 7.922 kB / 0.582 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1305, allocations: 0 / 0.582 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1305, allocations: 4 kB / 0.582 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.1306, allocations: 12 kB / 0.582 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.1307, allocations: 157.6 kB / 0.5821 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.1308, allocations: 42.62 kB / 0.5822 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.1308, allocations: 20.98 kB / 0.5822 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.1308, allocations: 7.938 kB / 0.5822 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1308, allocations: 34.56 kB / 0.5822 GB, free: 6.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1308, allocations: 0 / 0.5822 GB, free: 6.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.00191/0.1328, allocations: 0.498 MB / 0.5827 GB, free: 5.656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.1328, allocations: 51.41 kB / 0.5828 GB, free: 5.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.703e-05/0.1328, allocations: 89.86 kB / 0.5829 GB, free: 5.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1329, allocations: 25.7 kB / 0.5829 GB, free: 5.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.1329, allocations: 80.14 kB / 0.583 GB, free: 5.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1329, allocations: 35.48 kB / 0.583 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.133, allocations: 25.72 kB / 0.583 GB, free: 5.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.133, allocations: 314.8 kB / 0.5833 GB, free: 5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.1331, allocations: 24 kB / 0.5834 GB, free: 4.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.1331, allocations: 27.92 kB / 0.5834 GB, free: 4.949 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/0.1332, allocations: 52.86 kB / 0.5834 GB, free: 4.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1332, allocations: 0 / 0.5834 GB, free: 4.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001256/0.1334, allocations: 97.56 kB / 0.5835 GB, free: 4.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1334, allocations: 6.188 kB / 0.5835 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.1334, allocations: 0 / 0.5835 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1334, allocations: 4 kB / 0.5835 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1335, allocations: 19.97 kB / 0.5836 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1336, allocations: 4.062 kB / 0.5836 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.1336, allocations: 4 kB / 0.5836 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1336, allocations: 4 kB / 0.5836 GB, free: 4.754 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 (9): * Single equations (assignments): 9 * 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.918e-05/0.1337, allocations: 110.5 kB / 0.5837 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.1337, allocations: 11.84 kB / 0.5837 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.1338, allocations: 15.97 kB / 0.5837 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1338, allocations: 0 / 0.5837 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1338, allocations: 3.984 kB / 0.5837 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1338, allocations: 3.938 kB / 0.5837 GB, free: 4.602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.1339, allocations: 171.6 kB / 0.5839 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.1339, allocations: 12.42 kB / 0.5839 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.134, allocations: 15.88 kB / 0.5839 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1341, allocations: 7.938 kB / 0.5839 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1341, allocations: 8 kB / 0.5839 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1341, allocations: 0 / 0.5839 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1341, allocations: 0 / 0.5839 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.1343, allocations: 137.1 kB / 0.584 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.1343, allocations: 89.06 kB / 0.5841 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1343, allocations: 64 / 0.5841 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1345, allocations: 11.94 kB / 0.5841 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.1345, allocations: 4 kB / 0.5841 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1345, allocations: 4 kB / 0.5841 GB, free: 4.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.085e-05/0.1345, allocations: 79.27 kB / 0.5842 GB, free: 3.988 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1345, allocations: 0 / 0.5842 GB, free: 3.988 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001754/0.1347, allocations: 12 kB / 0.5842 GB, free: 3.977 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0004009/0.1351, allocations: 0.6866 MB / 0.5849 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1352, allocations: 67.91 kB / 0.585 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1353, allocations: 0 / 0.585 GB, free: 3.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.1353, allocations: 31.94 kB / 0.585 GB, free: 3.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.1355, allocations: 15.48 kB / 0.585 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1366, allocations: 1.271 MB / 0.5863 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.1368, allocations: 0.6828 MB / 0.5869 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.951e-05/0.1369, allocations: 12 kB / 0.5869 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1369, allocations: 15.44 kB / 0.5869 GB, free: 1.062 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1369, allocations: 0 / 0.5869 GB, free: 1.062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.292/1.429, allocations: 1.516 MB / 0.5884 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/1.43, allocations: 250.4 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/3.183, allocations: 0 / 0.5887 GB, free: 15.5 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)