Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck",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.008679/0.008679, allocations: 98.98 kB / 15.73 MB, free: 6.008 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.002022/0.002022, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8116, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002251/0.8139, allocations: 1.259 MB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005692/0.8145, allocations: 319.2 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.8145, allocations: 1.062 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.8145, allocations: 3.938 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.8146, allocations: 0.8438 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.8149, allocations: 57.42 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.8149, allocations: 13.55 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.815, allocations: 3 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.815, allocations: 4.859 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.8151, allocations: 13.47 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.8151, allocations: 1.281 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.8152, allocations: 72.92 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.8153, allocations: 1.781 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.8153, allocations: 3.938 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.8154, allocations: 54.5 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8154, allocations: 0 / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8154, allocations: 1.156 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.8154, allocations: 0 / 1.089 GB, free: 4.082 MB / 0.8575 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.0002877/0.8157, allocations: 330.7 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.8158, allocations: 9.969 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.261e-05/0.8158, allocations: 36.39 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.8159, allocations: 6.844 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.645e-05/0.816, allocations: 170.8 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.816, allocations: 1.562 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.816, allocations: 5.75 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.8162, allocations: 43.28 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.8162, allocations: 3.938 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.8162, allocations: 1.156 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8162, allocations: 1.188 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.8162, allocations: 17.69 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.8164, allocations: 165.9 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.8166, allocations: 46.62 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.8166, allocations: 22.73 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.8166, allocations: 1.656 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.8167, allocations: 31.5 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8167, allocations: 4 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.001352/0.818, allocations: 399.9 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.818, allocations: 56.72 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.906e-05/0.8181, allocations: 90.52 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.8181, allocations: 26.45 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.365e-05/0.8181, allocations: 85.08 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.8181, allocations: 23.84 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.8182, allocations: 20.88 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.8182, allocations: 313 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.8183, allocations: 18.69 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.8183, allocations: 15.97 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.563e-05/0.8184, allocations: 42.47 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.8184, allocations: 0 / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001275/0.8186, allocations: 86.31 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8186, allocations: 9.812 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.8186, allocations: 0 / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8186, allocations: 1.094 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.8187, allocations: 12.12 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8187, allocations: 0 / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.8188, allocations: 1.578 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.8188, allocations: 2.031 kB / 1.091 GB, free: 2.102 MB / 0.8575 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 5.818e-05/0.8189, allocations: 115 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.8189, allocations: 14.55 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.8191, allocations: 95.02 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.8191, allocations: 1.391 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8191, allocations: 1.609 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8191, allocations: 0.7969 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.683e-05/0.8192, allocations: 170.3 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8192, allocations: 1.031 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/0.8193, allocations: 11.67 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.8193, allocations: 5.656 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.8194, allocations: 0 / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8194, allocations: 1.609 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8194, allocations: 0 / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.8196, allocations: 127.3 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.8196, allocations: 87.34 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.8196, allocations: 5.609 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.8197, allocations: 8.062 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.8197, allocations: 4.094 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.8197, allocations: 6.562 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.326e-05/0.8197, allocations: 75.84 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8197, allocations: 0 / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001904/0.8199, allocations: 8.406 kB / 1.092 GB, free: 1.414 MB / 0.8575 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.00036/0.8203, allocations: 0.6651 MB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.8204, allocations: 49.42 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8204, allocations: 1.219 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.8205, allocations: 25.14 kB / 1.093 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.8207, allocations: 6.797 kB / 1.093 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.8217, allocations: 1.184 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.822, allocations: 0.6866 MB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.756e-05/0.822, allocations: 9.125 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.8221, allocations: 11.42 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.8221, allocations: 0.5938 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.8398, allocations: 1.668 MB / 1.096 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/8.19, allocations: 11.66 kB / 1.096 GB, free: 14.57 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_DewPointTemperatureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1)