Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.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.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb",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.006256/0.006256, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001596/0.001596, allocations: 189.1 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.525/1.525, 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.002515/0.002515, allocations: 293.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002712, allocations: 107.8 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4371, allocations: 86.98 MB / 0.7659 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb): time 0.002533/0.4397, allocations: 1.245 MB / 0.7671 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.4408, allocations: 0.6208 MB / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.4408, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.4409, allocations: 0 / 0.7678 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.4409, allocations: 4 kB / 0.7678 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.4414, allocations: 135.4 kB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.233e-05/0.4414, allocations: 11.94 kB / 0.7679 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.4415, allocations: 7.984 kB / 0.7679 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.151e-05/0.4415, allocations: 7.938 kB / 0.7679 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.4416, allocations: 7.984 kB / 0.7679 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.475e-06/0.4416, allocations: 0 / 0.7679 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.4419, allocations: 215.6 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.442, allocations: 7.984 kB / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.442, allocations: 15.92 kB / 0.7681 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.4422, allocations: 132.8 kB / 0.7683 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4423, allocations: 0 / 0.7683 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4423, allocations: 0 / 0.7683 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4423, allocations: 0 / 0.7683 GB, free: 1.414 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.0004823/0.4428, allocations: 351.2 kB / 0.7686 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4428, allocations: 12.03 kB / 0.7686 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.4428, allocations: 30.75 kB / 0.7687 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.443, allocations: 24.81 kB / 0.7687 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4431, allocations: 164.4 kB / 0.7688 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4431, allocations: 4.375 kB / 0.7688 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.4432, allocations: 4.375 kB / 0.7688 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.4433, allocations: 42.19 kB / 0.7689 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4433, allocations: 3.938 kB / 0.7689 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4433, allocations: 4 kB / 0.7689 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4433, allocations: 0 / 0.7689 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.4434, allocations: 7.984 kB / 0.7689 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.4436, allocations: 157.7 kB / 0.769 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.4438, allocations: 42.56 kB / 0.7691 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.4438, allocations: 16.86 kB / 0.7691 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4439, allocations: 3.938 kB / 0.7691 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4439, allocations: 34.56 kB / 0.7691 GB, free: 364 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4439, allocations: 0 / 0.7691 GB, free: 364 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007541/0.4447, allocations: 310.6 kB / 0.7694 GB, free: 0 / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.4447, allocations: 51.41 kB / 0.7695 GB, free: 15.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.245e-05/0.4448, allocations: 89.86 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4448, allocations: 29.69 kB / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.4449, allocations: 80.14 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.4449, allocations: 23.8 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.445, allocations: 17.72 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4451, allocations: 326.8 kB / 0.77 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.4451, allocations: 4 kB / 0.77 GB, free: 15.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.4452, allocations: 12 kB / 0.77 GB, free: 15.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.759e-05/0.4452, allocations: 32.84 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4453, allocations: 3.938 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.4454, allocations: 69.7 kB / 0.7701 GB, free: 15.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4454, allocations: 7.938 kB / 0.7701 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4454, allocations: 0 / 0.7701 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4454, allocations: 4 kB / 0.7702 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.4455, allocations: 12 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4455, allocations: 3.938 kB / 0.7702 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.4455, allocations: 0 / 0.7702 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4456, allocations: 7.984 kB / 0.7702 GB, free: 15.18 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.658e-05/0.4457, allocations: 112.2 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.4457, allocations: 11.88 kB / 0.7703 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.4458, allocations: 69.59 kB / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4459, allocations: 0 / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4459, allocations: 3.984 kB / 0.7704 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.4459, allocations: 4 kB / 0.7704 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.446, allocations: 157.7 kB / 0.7705 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.446, allocations: 4.125 kB / 0.7705 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.4461, allocations: 8 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4461, allocations: 3.938 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.4461, allocations: 4 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4461, allocations: 0 / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4461, allocations: 0 / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.4463, allocations: 109 kB / 0.7706 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.4464, allocations: 81.05 kB / 0.7707 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4464, allocations: 4 kB / 0.7707 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.4465, allocations: 4.031 kB / 0.7707 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.4465, allocations: 7.984 kB / 0.7707 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.4465, allocations: 0 / 0.7707 GB, free: 14.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.86e-05/0.4465, allocations: 75.28 kB / 0.7708 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4465, allocations: 0 / 0.7708 GB, free: 14.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002534/0.4468, allocations: 12 kB / 0.7708 GB, free: 14.42 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.0005099/0.4473, allocations: 0.6439 MB / 0.7714 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.4475, allocations: 35.97 kB / 0.7715 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4475, allocations: 0 / 0.7715 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.4475, allocations: 15.94 kB / 0.7715 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.4478, allocations: 18.66 kB / 0.7715 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4489, allocations: 1.149 MB / 0.7726 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.4493, allocations: 0.6762 MB / 0.7733 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.553e-05/0.4494, allocations: 11.97 kB / 0.7733 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.4494, allocations: 11.44 kB / 0.7733 GB, free: 11.73 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.4494, allocations: 0 / 0.7733 GB, free: 11.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.4748, allocations: 1.388 MB / 0.7747 GB, free: 10.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.484, allocations: 12.52 kB / 0.7747 GB, free: 10.54 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck_amb.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_amb.pipe 2>&1)