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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 171.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8356/0.8356, allocations: 133.5 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 104.1 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.316e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4985, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.6503, allocations: 110.9 MB / 0.7422 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.6506, allocations: 87.94 kB / 0.7423 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005223/0.6559, allocations: 1.859 MB / 0.7441 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6559, allocations: 0 / 0.7441 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6559, allocations: 0 / 0.7441 GB, free: 9.945 MB / 0.5261 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.0003667/0.6563, allocations: 334.5 kB / 0.7444 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.6563, allocations: 8.031 kB / 0.7444 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.6565, allocations: 19.89 kB / 0.7444 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.6566, allocations: 163 kB / 0.7446 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6566, allocations: 3.938 kB / 0.7446 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.6567, allocations: 4 kB / 0.7446 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.804e-05/0.6568, allocations: 15.94 kB / 0.7446 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.577e-05/0.6569, allocations: 41.69 kB / 0.7447 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.6569, allocations: 0 / 0.7447 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.6569, allocations: 4 kB / 0.7447 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6569, allocations: 3.938 kB / 0.7447 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.6571, allocations: 142.2 kB / 0.7448 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.224e-05/0.6572, allocations: 38.64 kB / 0.7448 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.6573, allocations: 16.98 kB / 0.7449 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.6573, allocations: 3.984 kB / 0.7449 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.6574, allocations: 42.5 kB / 0.7449 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.6574, allocations: 0 / 0.7449 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001968/0.6593, allocations: 466.1 kB / 0.7453 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.6594, allocations: 55.41 kB / 0.7454 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.6594, allocations: 85 kB / 0.7455 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.6595, allocations: 25.7 kB / 0.7455 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.6595, allocations: 84.14 kB / 0.7456 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.6596, allocations: 23.56 kB / 0.7456 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.6596, allocations: 0 / 0.7456 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6597, allocations: 318.8 kB / 0.7459 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.6598, allocations: 20 kB / 0.7459 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.6598, allocations: 24 kB / 0.746 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.6599, allocations: 23.98 kB / 0.746 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6599, allocations: 0 / 0.746 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000125/0.66, allocations: 85.58 kB / 0.7461 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.66, allocations: 4 kB / 0.7461 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.66, allocations: 0 / 0.7461 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.66, allocations: 0 / 0.7461 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.6602, allocations: 12 kB / 0.7461 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6602, allocations: 4 kB / 0.7461 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.6603, allocations: 288 / 0.7461 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.6603, allocations: 8 kB / 0.7461 GB, free: 7.664 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/0.6604, allocations: 110.3 kB / 0.7462 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000117/0.6605, allocations: 85.58 kB / 0.7463 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.6605, allocations: 11.84 kB / 0.7463 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.6606, allocations: 12.41 kB / 0.7463 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.6606, allocations: 0 / 0.7463 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6606, allocations: 0 / 0.7463 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6606, allocations: 0 / 0.7463 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.6607, allocations: 156 kB / 0.7464 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6607, allocations: 4 kB / 0.7464 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.6609, allocations: 12.25 kB / 0.7465 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6609, allocations: 0 / 0.7465 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.6609, allocations: 4 kB / 0.7465 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6609, allocations: 7.938 kB / 0.7465 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6609, allocations: 0 / 0.7465 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.6612, allocations: 133.3 kB / 0.7466 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.6612, allocations: 81.06 kB / 0.7467 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.6612, allocations: 0 / 0.7467 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.6614, allocations: 12.05 kB / 0.7467 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.6614, allocations: 8 kB / 0.7467 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.6614, allocations: 0 / 0.7467 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.6614, allocations: 75.28 kB / 0.7468 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6614, allocations: 0 / 0.7468 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000195/0.6616, allocations: 12 kB / 0.7468 GB, free: 6.871 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005424/0.6622, allocations: 0.6865 MB / 0.7474 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.6623, allocations: 48 kB / 0.7475 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6624, allocations: 0 / 0.7475 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.6624, allocations: 31.94 kB / 0.7475 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.6626, allocations: 8.594 kB / 0.7475 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.6632, allocations: 149 kB / 0.7477 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.6636, allocations: 0.6846 MB / 0.7483 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.6637, allocations: 12.19 kB / 0.7484 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.6638, allocations: 11.44 kB / 0.7484 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6638, allocations: 0 / 0.7484 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.6903, allocations: 1.074 MB / 0.7494 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/0.6906, allocations: 194.6 kB / 0.7496 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.153, allocations: 5.828 kB / 0.7496 GB, free: 3.906 MB / 0.5261 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/linux/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)