Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000766/0.000766, 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.000784/0.000784, 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.8539/0.8539, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.697/1.697, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.472e-06/1.472e-06, allocations: 0 / 0.9997 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.852e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001749/0.001767, allocations: 1.485 MB / 1.001 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0006833/0.00245, allocations: 0.5572 MB / 1.002 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.00248, allocations: 8 kB / 1.002 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.002507, allocations: 3.938 kB / 1.002 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.002548, allocations: 11.86 kB / 1.002 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.002971, allocations: 163.2 kB / 1.002 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.003042, allocations: 47.84 kB / 1.002 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.003084, allocations: 11.89 kB / 1.002 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.003151, allocations: 31.97 kB / 1.002 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.003185, allocations: 23.91 kB / 1.002 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.003199, allocations: 4 kB / 1.002 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.003459, allocations: 275.4 kB / 1.002 GB, free: 9.742 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.00348, allocations: 11.97 kB / 1.002 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.003503, allocations: 15.94 kB / 1.002 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.00371, allocations: 195.4 kB / 1.002 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003712, allocations: 0 / 1.002 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003713, allocations: 0 / 1.002 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.003717, allocations: 0 / 1.002 GB, free: 9.523 MB / 0.9167 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.0004102/0.004128, allocations: 317.8 kB / 1.003 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.004165, allocations: 17.34 kB / 1.003 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.004196, allocations: 38.73 kB / 1.003 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.004224, allocations: 8.891 kB / 1.003 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.781e-05/0.004292, allocations: 105.8 kB / 1.003 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.004314, allocations: 12.31 kB / 1.003 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.004332, allocations: 8.375 kB / 1.003 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.004511, allocations: 129.6 kB / 1.003 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.004522, allocations: 4.172 kB / 1.003 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.004531, allocations: 384 / 1.003 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.004537, allocations: 8.125 kB / 1.003 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.004656, allocations: 47.97 kB / 1.003 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.005368, allocations: 291.8 kB / 1.003 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.005532, allocations: 82.47 kB / 1.003 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.893e-05/0.005591, allocations: 28.84 kB / 1.003 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.005609, allocations: 0 / 1.003 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.005629, allocations: 38.56 kB / 1.004 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 7.21e-07/0.00563, allocations: 0 / 1.004 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0009436/0.006574, allocations: 0.4996 MB / 1.004 GB, free: 7.707 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.006602, allocations: 59.41 kB / 1.004 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.006654, allocations: 101.8 kB / 1.004 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.006665, allocations: 29.7 kB / 1.004 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.006699, allocations: 84.14 kB / 1.004 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.006728, allocations: 43.64 kB / 1.004 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.006766, allocations: 25.7 kB / 1.004 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.006837, allocations: 322.7 kB / 1.005 GB, free: 7.008 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.006907, allocations: 35.97 kB / 1.005 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.006967, allocations: 30.86 kB / 1.005 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.007098, allocations: 80.83 kB / 1.005 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.007098, allocations: 0 / 1.005 GB, free: 6.863 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001665/0.007265, allocations: 113.6 kB / 1.005 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.007277, allocations: 4 kB / 1.005 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007282, allocations: 96 / 1.005 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.007295, allocations: 7.938 kB / 1.005 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.00739, allocations: 31.91 kB / 1.005 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.007395, allocations: 0 / 1.005 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.007425, allocations: 12 kB / 1.005 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.007431, allocations: 0 / 1.005 GB, free: 6.691 MB / 0.9167 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.234e-05/0.007493, allocations: 117.8 kB / 1.005 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.007509, allocations: 11.92 kB / 1.005 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.00772, allocations: 129.7 kB / 1.005 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007722, allocations: 0 / 1.005 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.007726, allocations: 0 / 1.005 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007729, allocations: 0 / 1.005 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.008065, allocations: 361.4 kB / 1.006 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.008067, allocations: 0 / 1.006 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.008146, allocations: 27.92 kB / 1.006 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.008148, allocations: 0 / 1.006 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.008158, allocations: 8 kB / 1.006 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.00816, allocations: 0 / 1.006 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.008163, allocations: 3.938 kB / 1.006 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.008454, allocations: 243.4 kB / 1.006 GB, free: 5.723 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.008461, allocations: 8.094 kB / 1.006 GB, free: 5.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.008475, allocations: 4 kB / 1.006 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.008532, allocations: 7.984 kB / 1.006 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.00855, allocations: 12.11 kB / 1.006 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.008558, allocations: 12 kB / 1.006 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.008584, allocations: 83.27 kB / 1.006 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008584, allocations: 0 / 1.006 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001939/0.008778, allocations: 39.86 kB / 1.006 GB, free: 5.559 MB / 0.9167 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.000556/0.009334, allocations: 0.818 MB / 1.007 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.009526, allocations: 91 kB / 1.007 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009528, allocations: 0 / 1.007 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.009594, allocations: 39.92 kB / 1.007 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.009836, allocations: 19.86 kB / 1.007 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.01115, allocations: 1.549 MB / 1.008 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.616e-05/0.0112, allocations: 75.33 kB / 1.008 GB, free: 2.836 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.125e-05/0.01125, allocations: 12.73 kB / 1.009 GB, free: 2.824 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.01129, allocations: 28.42 kB / 1.009 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of SimCode: time 9.12e-07/0.0113, allocations: 0 / 1.009 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.02714, allocations: 2.999 MB / 1.011 GB, free: 12 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/6.527, allocations: 9.422 kB / 1.011 GB, free: 8 kB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.49594072252512] Failed to read output from testmodel.py, exit status != 0: 6.606019211001694 6.616306209 6.610415896 Calling exit ...