Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 111.3 kB / 17.6 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 186.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.91/2.91, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 71.88 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.08, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002571/1.082, allocations: 1.3 MB / 1.273 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001104/1.083, allocations: 0.6159 MB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/1.083, allocations: 0 / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/1.083, allocations: 1.125 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.789e-05/1.084, allocations: 5.516 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/1.084, allocations: 149.6 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.125e-05/1.084, allocations: 23.47 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/1.084, allocations: 3.016 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/1.084, allocations: 5.875 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/1.084, allocations: 12.53 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/1.084, allocations: 0.6875 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007182/1.085, allocations: 345.8 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/1.085, allocations: 3.094 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/1.085, allocations: 12.12 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/1.086, allocations: 153 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.086, allocations: 0.5625 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.557e-06/1.086, allocations: 0 / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.086, allocations: 0.6875 kB / 1.274 GB, free: 6.113 MB / 0.9981 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.0005834/1.086, allocations: 361.8 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/1.086, allocations: 13.81 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/1.086, allocations: 35.44 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/1.086, allocations: 6.641 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/1.086, allocations: 165.1 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/1.086, allocations: 1.375 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/1.086, allocations: 2.938 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/1.087, allocations: 42.11 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.087, allocations: 5.484 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/1.087, allocations: 0 / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/1.087, allocations: 0.75 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/1.087, allocations: 12.09 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/1.087, allocations: 159.1 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/1.087, allocations: 48.41 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/1.087, allocations: 20.52 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/1.087, allocations: 2.812 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/1.087, allocations: 35.56 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/1.087, allocations: 1.031 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0007375/1.088, allocations: 311.2 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.088, allocations: 52.53 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/1.088, allocations: 103.3 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/1.088, allocations: 26.52 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/1.088, allocations: 84.03 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/1.088, allocations: 22.95 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/1.088, allocations: 23.08 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/1.088, allocations: 317.4 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/1.088, allocations: 10.95 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/1.088, allocations: 14.16 kB / 1.276 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/1.088, allocations: 35.5 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/1.088, allocations: 4.688 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001076/1.088, allocations: 63.55 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.088, allocations: 6 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.088, allocations: 0.9062 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.088, allocations: 0 / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.844e-05/1.088, allocations: 13.44 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/1.088, allocations: 1.078 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/1.088, allocations: 4.812 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/1.089, allocations: 5.656 kB / 1.276 GB, free: 4.133 MB / 0.9981 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 6.629e-05/1.089, allocations: 107.4 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/1.089, allocations: 10.78 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/1.089, allocations: 79.61 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.089, allocations: 2.781 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.089, allocations: 0.6562 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/1.089, allocations: 0 / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/1.089, allocations: 321 kB / 1.276 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.089, allocations: 0.6562 kB / 1.276 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/1.089, allocations: 11.73 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.089, allocations: 0 / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/1.089, allocations: 2.969 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.089, allocations: 1.5 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.089, allocations: 3.938 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/1.089, allocations: 188.7 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/1.09, allocations: 81.38 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/1.09, allocations: 0.9062 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/1.09, allocations: 6.219 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/1.09, allocations: 4.156 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/1.09, allocations: 3.094 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.27e-05/1.09, allocations: 81.92 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.09, allocations: 0 / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002887/1.09, allocations: 26.88 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005394/1.091, allocations: 0.7425 MB / 1.278 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001488/1.091, allocations: 29.31 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.091, allocations: 1.25 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/1.091, allocations: 24.09 kB / 1.278 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/1.091, allocations: 2.812 kB / 1.278 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/1.092, allocations: 1.341 MB / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/1.093, allocations: 0.6823 MB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.482e-05/1.093, allocations: 3.625 kB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/1.093, allocations: 10.34 kB / 1.28 GB, free: 16.55 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/1.093, allocations: 1.219 kB / 1.28 GB, free: 16.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/1.118, allocations: 1.6 MB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/9.655, allocations: 11.27 kB / 1.281 GB, free: 16.18 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.966296656028135] Failed to read output from testmodel.py, exit status != 0: 9.724767334002536 9.747037579 8.65690003 Calling exit ...