Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007873/0.0007873, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007592/0.0007592, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8396/0.8396, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.672/1.672, allocations: 377.9 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_12_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_12_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 1.553e-06/1.553e-06, allocations: 0 / 0.981 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.94e-05, allocations: 2.281 kB / 0.981 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001567/0.001587, allocations: 1.29 MB / 0.9822 GB, free: 144 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.002274, allocations: 0.5409 MB / 0.9828 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.002299, allocations: 0 / 0.9828 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.002319, allocations: 0 / 0.9828 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.002355, allocations: 7.922 kB / 0.9828 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.002795, allocations: 151.2 kB / 0.9829 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.265e-05/0.002857, allocations: 15.88 kB / 0.9829 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.002897, allocations: 8 kB / 0.9829 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.031e-05/0.002947, allocations: 11.98 kB / 0.9829 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.002991, allocations: 11.97 kB / 0.983 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.003004, allocations: 0 / 0.983 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.003278, allocations: 271.4 kB / 0.9832 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.003292, allocations: 3.984 kB / 0.9832 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.003313, allocations: 11.94 kB / 0.9832 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.00351, allocations: 151.6 kB / 0.9834 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003512, allocations: 0 / 0.9834 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.173e-06/0.003514, allocations: 0 / 0.9834 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.003517, allocations: 0 / 0.9834 GB, free: 14.96 MB / 0.9011 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.0003418/0.003859, allocations: 285.9 kB / 0.9836 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.0039, allocations: 15.97 kB / 0.9837 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.00393, allocations: 38.73 kB / 0.9837 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.003956, allocations: 0.9375 kB / 0.9837 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.004036, allocations: 125.7 kB / 0.9838 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.004046, allocations: 384 / 0.9838 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.004066, allocations: 8.375 kB / 0.9838 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.004174, allocations: 63.95 kB / 0.9839 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004181, allocations: 192 / 0.9839 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004189, allocations: 384 / 0.9839 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.004196, allocations: 8.125 kB / 0.9839 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.004227, allocations: 4 kB / 0.9839 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.004352, allocations: 136.7 kB / 0.984 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.004529, allocations: 42.55 kB / 0.9841 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.004557, allocations: 16.94 kB / 0.9841 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.004577, allocations: 4 kB / 0.9841 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.004595, allocations: 34.56 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004596, allocations: 0 / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0004874/0.005083, allocations: 233.2 kB / 0.9843 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.005112, allocations: 51.41 kB / 0.9844 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.229e-05/0.005164, allocations: 101.8 kB / 0.9845 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.005428, allocations: 25.7 kB / 0.9845 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.00545, allocations: 84.08 kB / 0.9846 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.005476, allocations: 23.8 kB / 0.9846 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.005504, allocations: 21.7 kB / 0.9846 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.005578, allocations: 314.8 kB / 0.9849 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.005599, allocations: 12 kB / 0.985 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.005617, allocations: 15.98 kB / 0.985 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.005661, allocations: 28.86 kB / 0.985 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.005662, allocations: 0 / 0.985 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.906e-05/0.005731, allocations: 73.62 kB / 0.9851 GB, free: 13 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.005744, allocations: 6.5 kB / 0.9851 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.00575, allocations: 3.938 kB / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.005764, allocations: 4.453 kB / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.005808, allocations: 15.94 kB / 0.9851 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.005813, allocations: 0 / 0.9851 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.005824, allocations: 0 / 0.9851 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005829, allocations: 4 kB / 0.9851 GB, free: 12.97 MB / 0.9011 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.523e-05/0.005885, allocations: 117.8 kB / 0.9852 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.00589, allocations: 4 kB / 0.9852 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.006003, allocations: 65.81 kB / 0.9853 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.006006, allocations: 7.922 kB / 0.9853 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.006011, allocations: 0 / 0.9853 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006014, allocations: 0 / 0.9853 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.006262, allocations: 286.6 kB / 0.9856 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.006265, allocations: 7.875 kB / 0.9856 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.006314, allocations: 15.92 kB / 0.9856 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006316, allocations: 4.031 kB / 0.9856 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.006324, allocations: 8 kB / 0.9856 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.006326, allocations: 0 / 0.9856 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006327, allocations: 0 / 0.9856 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.006454, allocations: 172.4 kB / 0.9858 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.006471, allocations: 11.95 kB / 0.9858 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.006482, allocations: 4 kB / 0.9858 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.006524, allocations: 0 / 0.9858 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.006539, allocations: 7.984 kB / 0.9858 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006543, allocations: 0 / 0.9858 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.397e-05/0.006567, allocations: 83.34 kB / 0.9859 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.006567, allocations: 0 / 0.9859 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001638/0.006731, allocations: 27.88 kB / 0.9859 GB, free: 12.07 MB / 0.9011 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.0003641/0.007095, allocations: 0.7366 MB / 0.9866 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.321e-05/0.007178, allocations: 36.16 kB / 0.9866 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007179, allocations: 0 / 0.9866 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.007195, allocations: 12 kB / 0.9866 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.007361, allocations: 5.688 kB / 0.9867 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008476/0.008208, allocations: 1.318 MB / 0.9879 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.008254, allocations: 63.34 kB / 0.988 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.00828, allocations: 12.05 kB / 0.988 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.00831, allocations: 8.5 kB / 0.988 GB, free: 9.746 MB / 0.9011 GB Notification: Performance of SimCode: time 5.11e-07/0.008311, allocations: 4 kB / 0.988 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.02601, allocations: 2.259 MB / 0.9902 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.633/6.659, allocations: 3.938 kB / 0.9902 GB, free: 7.688 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.530201178975403] Failed to read output from testmodel.py, exit status != 0: 6.73651082534343 6.745198202 6.739954714 Calling exit ...