Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.000777/0.000777, 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.0007906/0.0007906, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8299/0.8299, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.723/1.723, allocations: 377.9 MB / 0.6221 GB, free: 8.645 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_dp_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.186e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001415/0.001427, allocations: 1.298 MB / 0.9822 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006108/0.002038, allocations: 0.5487 MB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.00206, allocations: 0 / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.002076, allocations: 0 / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.002105, allocations: 3.938 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.002481, allocations: 154.4 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.002534, allocations: 27.92 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.002576, allocations: 7.938 kB / 0.983 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.002611, allocations: 23.95 kB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.002654, allocations: 4 kB / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.002666, allocations: 0 / 0.983 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.00292, allocations: 275.4 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.002933, allocations: 3.984 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.002952, allocations: 11.98 kB / 0.9833 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.003123, allocations: 159.5 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003124, allocations: 3.938 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003125, allocations: 4 kB / 0.9834 GB, free: 52 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.003129, allocations: 4 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002918/0.00342, allocations: 300.4 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.003453, allocations: 12.03 kB / 0.9837 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.535e-05/0.003478, allocations: 34.75 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.0035, allocations: 8.891 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.354e-05/0.003564, allocations: 109.8 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.003573, allocations: 4.375 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.00359, allocations: 4.375 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.003696, allocations: 97.66 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.003706, allocations: 4.188 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.003713, allocations: 4.375 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.003718, allocations: 4.125 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.003758, allocations: 23.92 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.003871, allocations: 132.8 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.00395, allocations: 54.56 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.003978, allocations: 28.84 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.003995, allocations: 3.984 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.004015, allocations: 38.5 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.004015, allocations: 0 / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0006843/0.0047, allocations: 459.7 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.004724, allocations: 55.34 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/0.004765, allocations: 93.86 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.004775, allocations: 29.7 kB / 0.9849 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.004794, allocations: 84.14 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.004822, allocations: 35.69 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.004852, allocations: 29.7 kB / 0.985 GB, free: 14.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.004915, allocations: 319 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.004943, allocations: 23.98 kB / 0.9853 GB, free: 13.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.004968, allocations: 24 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.039e-05/0.005029, allocations: 52.84 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.005029, allocations: 0 / 0.9854 GB, free: 13.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.728e-05/0.005116, allocations: 95.39 kB / 0.9855 GB, free: 13.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.005128, allocations: 14.91 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005132, allocations: 3.938 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.005142, allocations: 0 / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.005205, allocations: 23.92 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.005209, allocations: 0 / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.005222, allocations: 12 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.005227, allocations: 0 / 0.9855 GB, free: 13.62 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 4.714e-05/0.005275, allocations: 113.8 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.005284, allocations: 11.94 kB / 0.9857 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.005399, allocations: 105.6 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005402, allocations: 8.094 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005405, allocations: 3.938 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005407, allocations: 0 / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.00566, allocations: 325.5 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.00566, allocations: 0 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.005719, allocations: 27.92 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.00572, allocations: 0 / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.005727, allocations: 4 kB / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.005728, allocations: 0 / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005729, allocations: 0 / 0.9861 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.005878, allocations: 219.4 kB / 0.9863 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.005884, allocations: 7.984 kB / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-06/0.005893, allocations: 0 / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.57e-05/0.005939, allocations: 8.031 kB / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.005953, allocations: 11.92 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.005958, allocations: 64 / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.873e-05/0.005976, allocations: 83.28 kB / 0.9864 GB, free: 12.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005976, allocations: 0 / 0.9864 GB, free: 12.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001604/0.006137, allocations: 35.88 kB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0003457/0.006482, allocations: 0.7903 MB / 0.9872 GB, free: 11.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.363e-05/0.006576, allocations: 51.92 kB / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006577, allocations: 0 / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.006606, allocations: 35.92 kB / 0.9873 GB, free: 11.69 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.006749, allocations: 4.766 kB / 0.9873 GB, free: 11.69 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.007648, allocations: 1.465 MB / 0.9888 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.007689, allocations: 80.39 kB / 0.9888 GB, free: 10.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.007717, allocations: 11.92 kB / 0.9888 GB, free: 10.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.007747, allocations: 24.5 kB / 0.9889 GB, free: 10.01 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.007748, allocations: 0 / 0.9889 GB, free: 10.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.0215, allocations: 2.715 MB / 0.9915 GB, free: 7.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.3/6.322, allocations: 4 kB / 0.9915 GB, free: 7.496 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.265897101722658] Failed to read output from testmodel.py, exit status != 0: 6.400288454256952 6.409049472 6.404385585 Calling exit ...