Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_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.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_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.005682/0.005682, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.0013/0.0013, allocations: 195.2 kB / 16.68 MB, free: 5.523 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 281.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 0.9825/0.9825, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 95.84 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.419, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb): time 0.002358/0.4214, allocations: 1.245 MB / 0.7671 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.4224, allocations: 0.6246 MB / 0.7678 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.953e-05/0.4225, allocations: 0 / 0.7678 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.4225, allocations: 4 kB / 0.7678 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.51e-05/0.4225, allocations: 0 / 0.7678 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.423, allocations: 131.4 kB / 0.7679 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.845e-05/0.4231, allocations: 11.94 kB / 0.7679 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.4232, allocations: 4 kB / 0.7679 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.4232, allocations: 11.92 kB / 0.7679 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.4233, allocations: 7.984 kB / 0.7679 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.4233, allocations: 0 / 0.7679 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.4237, allocations: 211.6 kB / 0.7681 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.4237, allocations: 11.98 kB / 0.7681 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.4237, allocations: 7.938 kB / 0.7681 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.424, allocations: 128.8 kB / 0.7683 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.424, allocations: 0 / 0.7683 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.424, allocations: 0 / 0.7683 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.424, allocations: 0 / 0.7683 GB, free: 1.469 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.0004536/0.4245, allocations: 355.2 kB / 0.7686 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4245, allocations: 8.031 kB / 0.7686 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.319e-05/0.4246, allocations: 34.75 kB / 0.7686 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.4247, allocations: 12.89 kB / 0.7687 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4248, allocations: 164.4 kB / 0.7688 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4248, allocations: 8.312 kB / 0.7688 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.4249, allocations: 4.375 kB / 0.7688 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.425, allocations: 46.17 kB / 0.7689 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.425, allocations: 3.938 kB / 0.7689 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.425, allocations: 0 / 0.7689 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.425, allocations: 4 kB / 0.7689 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.4251, allocations: 7.984 kB / 0.7689 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.4253, allocations: 161.7 kB / 0.769 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.4255, allocations: 38.61 kB / 0.7691 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.4255, allocations: 24.88 kB / 0.7691 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.4256, allocations: 0 / 0.7691 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4256, allocations: 34.56 kB / 0.7691 GB, free: 416 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4256, allocations: 4 kB / 0.7691 GB, free: 412 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006664/0.4263, allocations: 302.3 kB / 0.7694 GB, free: 56 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.4264, allocations: 51.41 kB / 0.7695 GB, free: 15.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.4264, allocations: 89.86 kB / 0.7696 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.4264, allocations: 25.7 kB / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.4265, allocations: 80.14 kB / 0.7697 GB, free: 15.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.4265, allocations: 27.78 kB / 0.7697 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.4266, allocations: 25.66 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.4267, allocations: 318.8 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.4267, allocations: 8 kB / 0.77 GB, free: 15.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.4268, allocations: 15.98 kB / 0.77 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.874e-05/0.4268, allocations: 32.84 kB / 0.7701 GB, free: 15.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4269, allocations: 4 kB / 0.7701 GB, free: 15.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001046/0.427, allocations: 65.69 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.427, allocations: 11.92 kB / 0.7701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.427, allocations: 0 / 0.7701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.427, allocations: 4 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.4271, allocations: 12 kB / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.4271, allocations: 0 / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.4271, allocations: 0 / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.4271, allocations: 0 / 0.7702 GB, free: 15.24 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 8.98e-05/0.4272, allocations: 113.8 kB / 0.7703 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.4273, allocations: 7.875 kB / 0.7703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.4274, allocations: 69.64 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4274, allocations: 11.94 kB / 0.7704 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4274, allocations: 0 / 0.7704 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4274, allocations: 0 / 0.7704 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.4276, allocations: 161.6 kB / 0.7705 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.4276, allocations: 7.984 kB / 0.7705 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.4277, allocations: 8 kB / 0.7705 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4277, allocations: 3.938 kB / 0.7705 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.4277, allocations: 0 / 0.7705 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4277, allocations: 4 kB / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4277, allocations: 336 / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.4279, allocations: 113 kB / 0.7706 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.428, allocations: 81.05 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.428, allocations: 7.984 kB / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.428, allocations: 4.031 kB / 0.7707 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.428, allocations: 3.984 kB / 0.7707 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.4281, allocations: 4 kB / 0.7707 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.4281, allocations: 75.28 kB / 0.7708 GB, free: 14.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4281, allocations: 0 / 0.7708 GB, free: 14.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001843/0.4283, allocations: 12.06 kB / 0.7708 GB, free: 14.46 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 (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 Backend phase and start with SimCode phase: time 0.0004624/0.4288, allocations: 0.648 MB / 0.7714 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.4289, allocations: 39.95 kB / 0.7715 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4289, allocations: 0 / 0.7715 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.158e-05/0.4289, allocations: 19.94 kB / 0.7715 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.4291, allocations: 12 kB / 0.7715 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.4302, allocations: 1.158 MB / 0.7726 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4305, allocations: 0.6807 MB / 0.7733 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.152e-05/0.4306, allocations: 4 kB / 0.7733 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.4306, allocations: 11.44 kB / 0.7733 GB, free: 11.75 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.4306, allocations: 0 / 0.7733 GB, free: 11.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.4559, allocations: 1.385 MB / 0.7747 GB, free: 10.58 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.373, allocations: 9.047 kB / 0.7747 GB, free: 10.58 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_InverseDewPointTemperatureDerivativeCheck_amb.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.InverseDewPointTemperatureDerivativeCheck_amb.pipe 2>&1)