Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007595/0.0007595, 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.0007928/0.0007928, 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.8506/0.8506, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.67/1.67, allocations: 389 MB / 0.633 GB, free: 12.68 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_DerivativeCheck,fileNamePrefix="Buildings_latest_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_latest_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.393e-06/1.393e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.878e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001632/0.001651, allocations: 1.298 MB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006252/0.002276, allocations: 0.5417 MB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.0023, allocations: 3.938 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.002317, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.002347, allocations: 4 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.002747, allocations: 147.2 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.612e-05/0.002803, allocations: 19.92 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.466e-05/0.002837, allocations: 4 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.002886, allocations: 19.92 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.002927, allocations: 7.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.002939, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.0032, allocations: 279.3 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.003211, allocations: 0 / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.003227, allocations: 4 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.003397, allocations: 151.5 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.003399, allocations: 0 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.82e-07/0.0034, allocations: 0 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003403, allocations: 0 / 1.002 GB, free: 11.02 MB / 0.9636 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.0002955/0.003699, allocations: 293.9 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.003734, allocations: 17.34 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.00376, allocations: 30.75 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.003785, allocations: 0.9375 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.525e-05/0.00385, allocations: 105.8 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.003858, allocations: 384 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.003875, allocations: 8.375 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.828e-05/0.003963, allocations: 63.95 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.003969, allocations: 192 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.003977, allocations: 4.375 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.003981, allocations: 4.125 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.067e-05/0.004012, allocations: 15.98 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.004121, allocations: 128.7 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.004262, allocations: 50.53 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.004285, allocations: 16.86 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.004301, allocations: 3.938 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.004316, allocations: 30.56 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.004316, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004179/0.004734, allocations: 241.5 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.00476, allocations: 59.39 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.005035, allocations: 93.86 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.005044, allocations: 33.64 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.005066, allocations: 92.14 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.005088, allocations: 19.78 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.005113, allocations: 21.72 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.00518, allocations: 314.8 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.005197, allocations: 7.984 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.005211, allocations: 12 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.005252, allocations: 36.8 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005252, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.725e-05/0.00531, allocations: 65.67 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.005321, allocations: 8 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.005324, allocations: 0 / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.005334, allocations: 3.938 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.275e-05/0.005367, allocations: 19.92 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.005371, allocations: 0 / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.005382, allocations: 4 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.005387, allocations: 4 kB / 1.004 GB, free: 9.016 MB / 0.9636 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 4.122e-05/0.005429, allocations: 105.8 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/0.005435, allocations: 7.953 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.719e-05/0.005522, allocations: 73.8 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005524, allocations: 7.938 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005527, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.005529, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.005732, allocations: 278.5 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.005734, allocations: 4.125 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.005769, allocations: 19.92 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005771, allocations: 4 kB / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.005776, allocations: 0 / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005777, allocations: 240 / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005777, allocations: 0 / 1.004 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.005893, allocations: 184.3 kB / 1.004 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.005907, allocations: 16.02 kB / 1.004 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.005915, allocations: 0 / 1.004 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.005955, allocations: 4 kB / 1.004 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.005967, allocations: 7.984 kB / 1.004 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.005971, allocations: 4 kB / 1.004 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.034e-05/0.005991, allocations: 75.28 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005991, allocations: 3.938 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001596/0.006151, allocations: 23.92 kB / 1.005 GB, free: 8.121 MB / 0.9636 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.0002896/0.00644, allocations: 0.725 MB / 1.005 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.182e-05/0.006512, allocations: 35.98 kB / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006514, allocations: 0 / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.006529, allocations: 15.98 kB / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.006681, allocations: 16.69 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/0.007401, allocations: 1.312 MB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.847e-05/0.00744, allocations: 63.34 kB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.007459, allocations: 4 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.007483, allocations: 12.5 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of SimCode: time 3.41e-07/0.007483, allocations: 4 kB / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.02147, allocations: 2.256 MB / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.488/6.509, allocations: 17.88 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_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_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.467605552636087] Failed to read output from testmodel.py, exit status != 0: 6.587342469021678 6.597046992 6.591483984 Calling exit ...