Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.004687/0.004687, allocations: 101.3 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.00137/0.00137, allocations: 187.1 kB / 16.67 MB, free: 5.922 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00247/0.00247, allocations: 278.3 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 0.9868/0.9868, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003974/0.003974, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5262, allocations: 86.98 MB / 0.7659 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00258/0.5288, allocations: 1.272 MB / 0.7672 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.53, allocations: 0.6413 MB / 0.7678 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.53, allocations: 0 / 0.7678 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.5301, allocations: 3.938 kB / 0.7678 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.5301, allocations: 0 / 0.7678 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.5306, allocations: 115.5 kB / 0.7679 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.8e-05/0.5307, allocations: 19.94 kB / 0.7679 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.5307, allocations: 7.984 kB / 0.7679 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.5308, allocations: 15.92 kB / 0.768 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.5308, allocations: 7.984 kB / 0.768 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.5309, allocations: 4 kB / 0.768 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.5312, allocations: 147.7 kB / 0.7681 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.5312, allocations: 4 kB / 0.7681 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.5312, allocations: 11.94 kB / 0.7681 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.5314, allocations: 98.98 kB / 0.7682 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5315, allocations: 0 / 0.7682 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5315, allocations: 4 kB / 0.7682 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5315, allocations: 0 / 0.7682 GB, free: 1.527 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005855/0.5321, allocations: 361 kB / 0.7686 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5321, allocations: 8.031 kB / 0.7686 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.5322, allocations: 38.67 kB / 0.7686 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/0.5326, allocations: 28.91 kB / 0.7686 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5328, allocations: 168.3 kB / 0.7688 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.5328, allocations: 384 / 0.7688 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.5328, allocations: 4.375 kB / 0.7688 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.533, allocations: 62.19 kB / 0.7689 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.533, allocations: 3.938 kB / 0.7689 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.533, allocations: 0 / 0.7689 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.5331, allocations: 4 kB / 0.7689 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.5332, allocations: 27.97 kB / 0.7689 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.5334, allocations: 169.6 kB / 0.7691 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.5338, allocations: 66.52 kB / 0.7691 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.5339, allocations: 32.94 kB / 0.7692 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.5339, allocations: 0 / 0.7692 GB, free: 420 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.5339, allocations: 34.5 kB / 0.7692 GB, free: 376 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.5339, allocations: 0 / 0.7692 GB, free: 376 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.00364/0.5376, allocations: 0.5721 MB / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5376, allocations: 51.41 kB / 0.7698 GB, free: 15.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.5377, allocations: 97.86 kB / 0.7699 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.5378, allocations: 25.7 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.5378, allocations: 80.14 kB / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.5378, allocations: 31.77 kB / 0.77 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.5379, allocations: 25.83 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5381, allocations: 322.8 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.5382, allocations: 35.97 kB / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.5383, allocations: 35.97 kB / 0.7704 GB, free: 15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.5386, allocations: 84.81 kB / 0.7705 GB, free: 14.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5386, allocations: 0 / 0.7705 GB, free: 14.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003543/0.539, allocations: 121.6 kB / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.539, allocations: 8 kB / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.539, allocations: 3.938 kB / 0.7706 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5391, allocations: 0 / 0.7706 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.5393, allocations: 27.91 kB / 0.7707 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5393, allocations: 240 / 0.7707 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.5395, allocations: 7.984 kB / 0.7707 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.5395, allocations: 4 kB / 0.7707 GB, free: 14.74 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 (7): * Single equations (assignments): 7 * 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 9.781e-05/0.5396, allocations: 113.8 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.5396, allocations: 11.89 kB / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.5397, allocations: 11.95 kB / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5397, allocations: 0 / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5397, allocations: 0 / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.5397, allocations: 0 / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.54, allocations: 195.5 kB / 0.771 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.54, allocations: 0 / 0.771 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.5402, allocations: 27.91 kB / 0.771 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5402, allocations: 0 / 0.771 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5402, allocations: 0 / 0.771 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.5403, allocations: 11.97 kB / 0.771 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5403, allocations: 3.938 kB / 0.771 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.5408, allocations: 193.4 kB / 0.7712 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.5409, allocations: 81.05 kB / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.5409, allocations: 32 / 0.7713 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.5411, allocations: 20.03 kB / 0.7713 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.5411, allocations: 8 kB / 0.7713 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.5412, allocations: 3.984 kB / 0.7713 GB, free: 13.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.5412, allocations: 79.28 kB / 0.7714 GB, free: 13.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5412, allocations: 0 / 0.7714 GB, free: 13.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003407/0.5416, allocations: 31.88 kB / 0.7714 GB, free: 13.86 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 (6): * Single equations (assignments): 6 * 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.0009338/0.5425, allocations: 0.7568 MB / 0.7722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.5428, allocations: 87.98 kB / 0.7722 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5429, allocations: 0 / 0.7722 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.543, allocations: 47.89 kB / 0.7723 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.5433, allocations: 11.94 kB / 0.7723 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.5455, allocations: 1.359 MB / 0.7736 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.5458, allocations: 0.6768 MB / 0.7743 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.546, allocations: 27.91 kB / 0.7743 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.5461, allocations: 27.41 kB / 0.7743 GB, free: 10.74 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.5461, allocations: 96 / 0.7743 GB, free: 10.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.5805, allocations: 2.499 MB / 0.7768 GB, free: 8.457 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.625, allocations: 22.06 kB / 0.7768 GB, free: 8.441 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)