Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.008417/0.008417, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.00228/0.002279, allocations: 192.9 kB / 16.67 MB, free: 5.93 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003366/0.003366, allocations: 294 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002992/0.002992, allocations: 95.86 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5347, allocations: 86.99 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002694/0.5374, allocations: 1.253 MB / 0.7672 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005736/0.538, allocations: 239.2 kB / 0.7674 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.5381, allocations: 0 / 0.7674 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.5381, allocations: 0 / 0.7674 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.5382, allocations: 4 kB / 0.7674 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.5385, allocations: 39.77 kB / 0.7674 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.5386, allocations: 23.97 kB / 0.7675 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.5387, allocations: 0 / 0.7675 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.5387, allocations: 4 kB / 0.7675 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.5388, allocations: 19.92 kB / 0.7675 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.5388, allocations: 4 kB / 0.7675 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.5389, allocations: 47.89 kB / 0.7675 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.539, allocations: 7.984 kB / 0.7675 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.539, allocations: 7.938 kB / 0.7675 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.5391, allocations: 35.61 kB / 0.7676 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5391, allocations: 0 / 0.7676 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5392, allocations: 0 / 0.7676 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.5392, allocations: 0 / 0.7676 GB, free: 2.207 MB / 0.5294 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.0004763/0.5396, allocations: 344.8 kB / 0.7679 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5397, allocations: 8.031 kB / 0.7679 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.5398, allocations: 34.75 kB / 0.7679 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.5399, allocations: 16.88 kB / 0.768 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.5401, allocations: 160.4 kB / 0.7681 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.5401, allocations: 384 / 0.7681 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.5401, allocations: 4.375 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.5402, allocations: 54.23 kB / 0.7682 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5403, allocations: 3.938 kB / 0.7682 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5403, allocations: 7.938 kB / 0.7682 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5403, allocations: 0 / 0.7682 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.486e-05/0.5404, allocations: 15.94 kB / 0.7682 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.5406, allocations: 165.6 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.5407, allocations: 42.62 kB / 0.7684 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.5407, allocations: 20.98 kB / 0.7684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-06/0.5407, allocations: 0 / 0.7684 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.5408, allocations: 34.56 kB / 0.7684 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.5408, allocations: 0 / 0.7684 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.002224/0.543, allocations: 0.4903 MB / 0.7689 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5431, allocations: 55.34 kB / 0.769 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.727e-05/0.5431, allocations: 93.86 kB / 0.7691 GB, free: 444 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.5431, allocations: 25.7 kB / 0.7691 GB, free: 412 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.5432, allocations: 80.14 kB / 0.7692 GB, free: 328 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.5432, allocations: 31.73 kB / 0.7692 GB, free: 296 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.5433, allocations: 21.72 kB / 0.7692 GB, free: 268 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5435, allocations: 314.8 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.5435, allocations: 24 kB / 0.7695 GB, free: 15.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/0.5436, allocations: 23.98 kB / 0.7696 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.5437, allocations: 60.98 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5437, allocations: 0 / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001608/0.5439, allocations: 101.5 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5439, allocations: 4 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5439, allocations: 3.984 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5439, allocations: 0 / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.5441, allocations: 19.92 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5441, allocations: 0 / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.5442, allocations: 8 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5442, allocations: 4 kB / 0.7698 GB, free: 15.69 MB / 0.545 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 8.82e-05/0.5443, allocations: 112.2 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.5443, allocations: 3.938 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.5444, allocations: 19.95 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5444, allocations: 0 / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5444, allocations: 4 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5444, allocations: 0 / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.5446, allocations: 179.2 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5446, allocations: 4.438 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.5447, allocations: 15.94 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5447, allocations: 0 / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.5447, allocations: 8 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5447, allocations: 4 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5448, allocations: 0 / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.545, allocations: 145 kB / 0.7702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.5451, allocations: 85.03 kB / 0.7703 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.5451, allocations: 4.062 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.5452, allocations: 4.031 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.5452, allocations: 8.094 kB / 0.7703 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.5453, allocations: 11.92 kB / 0.7703 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.252e-05/0.5453, allocations: 75.28 kB / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5453, allocations: 0 / 0.7704 GB, free: 14.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002639/0.5456, allocations: 8 kB / 0.7704 GB, free: 14.92 MB / 0.545 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.0005567/0.5461, allocations: 0.6905 MB / 0.7711 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.5463, allocations: 59.91 kB / 0.7712 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5463, allocations: 4 kB / 0.7712 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.5464, allocations: 28 kB / 0.7712 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.5467, allocations: 11.98 kB / 0.7712 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5481, allocations: 1.27 MB / 0.7724 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.5484, allocations: 0.6807 MB / 0.7731 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.469e-05/0.5485, allocations: 8 kB / 0.7731 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.5486, allocations: 15.42 kB / 0.7731 GB, free: 12.02 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.5486, allocations: 3.938 kB / 0.7731 GB, free: 12.01 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.575, allocations: 1.646 MB / 0.7747 GB, free: 10.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.789, allocations: 18.72 kB / 0.7747 GB, free: 10.55 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)