Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_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.006367/0.006367, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001513/0.001513, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7627/0.7627, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.19 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1514, allocations: 80.92 MB / 0.6642 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002341/0.1538, allocations: 1.253 MB / 0.6654 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004911/0.1543, allocations: 239.5 kB / 0.6656 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.1544, allocations: 0 / 0.6656 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.1544, allocations: 0 / 0.6656 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.1544, allocations: 3.984 kB / 0.6656 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1548, allocations: 47.7 kB / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.1548, allocations: 19.98 kB / 0.6657 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1549, allocations: 4 kB / 0.6657 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.316e-05/0.1549, allocations: 7.938 kB / 0.6657 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.155, allocations: 15.97 kB / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.155, allocations: 0 / 0.6657 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1551, allocations: 43.95 kB / 0.6658 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.1551, allocations: 8 kB / 0.6658 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.1552, allocations: 3.938 kB / 0.6658 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1553, allocations: 42.75 kB / 0.6658 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1553, allocations: 3.938 kB / 0.6658 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1553, allocations: 0 / 0.6658 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1553, allocations: 4 kB / 0.6658 GB, free: 4.609 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003664/0.1557, allocations: 331.6 kB / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1557, allocations: 13.7 kB / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.1558, allocations: 38.69 kB / 0.6662 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1559, allocations: 12.92 kB / 0.6662 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.734e-05/0.156, allocations: 161 kB / 0.6664 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.156, allocations: 384 / 0.6664 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.156, allocations: 4.375 kB / 0.6664 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1562, allocations: 54.23 kB / 0.6664 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1562, allocations: 3.938 kB / 0.6664 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1562, allocations: 4 kB / 0.6664 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1562, allocations: 0 / 0.6664 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.1563, allocations: 15.94 kB / 0.6664 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.1564, allocations: 154 kB / 0.6666 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.431e-05/0.1565, allocations: 42.62 kB / 0.6666 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.1566, allocations: 28.98 kB / 0.6666 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1566, allocations: 3.984 kB / 0.6666 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1566, allocations: 30.56 kB / 0.6667 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1566, allocations: 0 / 0.6667 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00198/0.1586, allocations: 0.498 MB / 0.6672 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1586, allocations: 51.41 kB / 0.6672 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.408e-05/0.1587, allocations: 89.86 kB / 0.6673 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1587, allocations: 25.7 kB / 0.6673 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.1587, allocations: 92.03 kB / 0.6674 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.1588, allocations: 23.64 kB / 0.6674 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1588, allocations: 33.66 kB / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.1589, allocations: 314.8 kB / 0.6678 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.159, allocations: 20 kB / 0.6678 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.159, allocations: 23.98 kB / 0.6678 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1591, allocations: 60.8 kB / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1591, allocations: 0 / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001438/0.1593, allocations: 93.53 kB / 0.668 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1593, allocations: 8 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1593, allocations: 0 / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1593, allocations: 4 kB / 0.668 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1595, allocations: 19.92 kB / 0.668 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1595, allocations: 0 / 0.668 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.1596, allocations: 0 / 0.668 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1596, allocations: 11.94 kB / 0.668 GB, free: 2.098 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 (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 6.771e-05/0.1597, allocations: 105.8 kB / 0.6681 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.1597, allocations: 7.938 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1597, allocations: 15.97 kB / 0.6681 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1597, allocations: 3.984 kB / 0.6681 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1597, allocations: 4 kB / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1598, allocations: 0 / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.1599, allocations: 175.3 kB / 0.6683 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1599, allocations: 288 / 0.6683 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.16, allocations: 20.38 kB / 0.6683 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.16, allocations: 0 / 0.6683 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.16, allocations: 3.938 kB / 0.6683 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1601, allocations: 7.938 kB / 0.6683 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1601, allocations: 0 / 0.6683 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1603, allocations: 149.1 kB / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.1603, allocations: 88.94 kB / 0.6686 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1604, allocations: 0 / 0.6686 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1605, allocations: 4.031 kB / 0.6686 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.1605, allocations: 8 kB / 0.6686 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1605, allocations: 3.984 kB / 0.6686 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.1605, allocations: 75.28 kB / 0.6686 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 0 / 0.6686 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001895/0.1607, allocations: 16.06 kB / 0.6687 GB, free: 1.324 MB / 0.4981 GB 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.0004478/0.1612, allocations: 0.6801 MB / 0.6693 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1613, allocations: 63.92 kB / 0.6694 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1614, allocations: 0 / 0.6694 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.1614, allocations: 32.2 kB / 0.6694 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1616, allocations: 20.19 kB / 0.6694 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1629, allocations: 1.279 MB / 0.6707 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.1631, allocations: 0.6807 MB / 0.6713 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.44e-05/0.1632, allocations: 4 kB / 0.6713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.1632, allocations: 15.42 kB / 0.6714 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of SimCode: time 1.833e-06/0.1633, allocations: 0 / 0.6714 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.1811, allocations: 1.645 MB / 0.673 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.36/7.541, allocations: 7.562 kB / 0.673 GB, free: 12.95 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)