Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.0007751/0.0007751, 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.0007911/0.0007911, 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.859/0.859, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.681/1.681, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.473e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002036/0.00206, allocations: 1.49 MB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007921/0.002852, allocations: 0.5642 MB / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.002888, allocations: 0 / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.002919, allocations: 3.938 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.392e-05/0.002963, allocations: 11.92 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.003453, allocations: 156.6 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.003568, allocations: 51.84 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.003614, allocations: 4 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.003695, allocations: 35.89 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.003736, allocations: 23.91 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.003753, allocations: 4 kB / 0.9833 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.004053, allocations: 271.5 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.004075, allocations: 15.92 kB / 0.9835 GB, free: 15.94 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.004101, allocations: 15.98 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.004342, allocations: 191.3 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.004345, allocations: 0 / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.004346, allocations: 4 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.004351, allocations: 3.938 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004993/0.00485, allocations: 321.8 kB / 0.984 GB, free: 15.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.004894, allocations: 12.03 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.00493, allocations: 38.73 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.004962, allocations: 8.891 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.113e-05/0.005043, allocations: 105.8 kB / 0.9842 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.00507, allocations: 8.375 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.00509, allocations: 4.375 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.005314, allocations: 141.5 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.005324, allocations: 192 / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.005336, allocations: 4.375 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.005342, allocations: 8.125 kB / 0.9844 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.005472, allocations: 47.59 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.005894, allocations: 291.7 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.006071, allocations: 78.53 kB / 0.9848 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.006134, allocations: 24.84 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.006158, allocations: 0 / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.006182, allocations: 42.5 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.006182, allocations: 0 / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001019/0.007201, allocations: 0.5073 MB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.007231, allocations: 51.41 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.007297, allocations: 105.8 kB / 0.9855 GB, free: 13.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.00731, allocations: 25.7 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.007345, allocations: 88.08 kB / 0.9856 GB, free: 13.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.007373, allocations: 43.67 kB / 0.9856 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.007409, allocations: 37.64 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.007491, allocations: 318.8 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.007566, allocations: 35.97 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.00763, allocations: 31.98 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.007763, allocations: 72.77 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007764, allocations: 0 / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001751/0.007939, allocations: 121.7 kB / 0.9862 GB, free: 12.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.007953, allocations: 4 kB / 0.9862 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007958, allocations: 0 / 0.9862 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.007971, allocations: 7.984 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.00807, allocations: 27.92 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.008075, allocations: 4 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.008106, allocations: 4 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.008114, allocations: 0 / 0.9862 GB, free: 12.89 MB / 0.948 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 (13): * Single equations (assignments): 13 * 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.847e-05/0.008182, allocations: 125.8 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.0082, allocations: 4 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.008417, allocations: 121.8 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.00842, allocations: 8 kB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.008425, allocations: 0 / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008427, allocations: 0 / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.008787, allocations: 357.5 kB / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008789, allocations: 0 / 0.9868 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.008873, allocations: 31.92 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008875, allocations: 0 / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.008883, allocations: 0 / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.008888, allocations: 7.984 kB / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.00889, allocations: 7.938 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.009189, allocations: 247.4 kB / 0.9871 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-06/0.009197, allocations: 4.031 kB / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.009209, allocations: 0 / 0.9871 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.009276, allocations: 11.98 kB / 0.9871 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.009295, allocations: 11.92 kB / 0.9871 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.009302, allocations: 7.938 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003216/0.009624, allocations: 79.28 kB / 0.9872 GB, free: 11.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.009624, allocations: 12 kB / 0.9872 GB, free: 11.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002148/0.009839, allocations: 39.86 kB / 0.9873 GB, free: 11.76 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0005755/0.01041, allocations: 0.8021 MB / 0.9881 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.01061, allocations: 80.42 kB / 0.9881 GB, free: 10.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01061, allocations: 0 / 0.9881 GB, free: 10.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.01069, allocations: 51.92 kB / 0.9882 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.01096, allocations: 18.89 kB / 0.9882 GB, free: 10.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.01222, allocations: 1.563 MB / 0.9897 GB, free: 9.145 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.069e-05/0.01228, allocations: 83.08 kB / 0.9898 GB, free: 9.043 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.01232, allocations: 8.734 kB / 0.9898 GB, free: 9.031 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.01236, allocations: 24.48 kB / 0.9898 GB, free: 9.008 MB / 0.948 GB Notification: Performance of SimCode: time 8.51e-07/0.01236, allocations: 3.938 kB / 0.9898 GB, free: 9.004 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.02995, allocations: 3.001 MB / 0.9928 GB, free: 6.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.353/6.383, allocations: 8.75 kB / 0.9928 GB, free: 6.223 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_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_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.427572824060917] Failed to read output from testmodel.py, exit status != 0: 6.460918969474733 6.469542668 6.463425809 Calling exit ...