Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0005838/0.0005838, 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.001224/0.001224, 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.8559/0.8559, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001297/0.001297, allocations: 233.6 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6516/0.6516, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.261e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001599/0.001611, allocations: 1.487 MB / 0.6477 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2444/0.246, allocations: 0.556 MB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.2461, allocations: 0.5938 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.2462, allocations: 4.453 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.2462, allocations: 13.36 kB / 0.6483 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.2469, allocations: 155.7 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.247, allocations: 63.38 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.247, allocations: 3.312 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.416e-05/0.2471, allocations: 31.75 kB / 0.6485 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.2472, allocations: 24.19 kB / 0.6486 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2472, allocations: 4.469 kB / 0.6486 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003634/0.2476, allocations: 273.4 kB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.2476, allocations: 11.81 kB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.2476, allocations: 19.47 kB / 0.6489 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.2479, allocations: 190.8 kB / 0.649 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2479, allocations: 0.5938 kB / 0.649 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2479, allocations: 0.625 kB / 0.649 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2479, allocations: 2.25 kB / 0.6491 GB, free: 55.79 MB / 0.5573 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.0004447/0.2483, allocations: 321.5 kB / 0.6494 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2484, allocations: 9.938 kB / 0.6494 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.2484, allocations: 38.67 kB / 0.6494 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.2484, allocations: 9.406 kB / 0.6494 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.791e-05/0.2485, allocations: 111.9 kB / 0.6495 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2485, allocations: 9.375 kB / 0.6495 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2485, allocations: 6.781 kB / 0.6495 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.2487, allocations: 129.5 kB / 0.6497 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2487, allocations: 1.562 kB / 0.6497 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2487, allocations: 3.625 kB / 0.6497 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2487, allocations: 7.281 kB / 0.6497 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.2489, allocations: 48.89 kB / 0.6497 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.2492, allocations: 287 kB / 0.65 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.2494, allocations: 81.89 kB / 0.6501 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.2495, allocations: 33.03 kB / 0.6501 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2495, allocations: 0.8438 kB / 0.6501 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2495, allocations: 35.56 kB / 0.6501 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2495, allocations: 0.9062 kB / 0.6501 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0009449/0.2504, allocations: 0.5038 MB / 0.6506 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.2505, allocations: 53.97 kB / 0.6507 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/0.2505, allocations: 108.8 kB / 0.6508 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.2505, allocations: 27.42 kB / 0.6508 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.2505, allocations: 91.52 kB / 0.6509 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2506, allocations: 35.42 kB / 0.6509 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.2506, allocations: 31.33 kB / 0.651 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.2506, allocations: 322.3 kB / 0.6513 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.2507, allocations: 29.91 kB / 0.6513 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.2508, allocations: 34.09 kB / 0.6513 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.2509, allocations: 76.16 kB / 0.6514 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.2509, allocations: 3.781 kB / 0.6514 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001663/0.2511, allocations: 119.6 kB / 0.6515 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2511, allocations: 5.781 kB / 0.6515 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2511, allocations: 0 / 0.6515 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2511, allocations: 1.938 kB / 0.6515 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.2512, allocations: 25.72 kB / 0.6515 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2512, allocations: 0 / 0.6515 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.2512, allocations: 6.344 kB / 0.6516 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2512, allocations: 8.656 kB / 0.6516 GB, free: 53.97 MB / 0.5573 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.55e-05/0.2513, allocations: 119.6 kB / 0.6517 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.2513, allocations: 6.953 kB / 0.6517 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.2515, allocations: 131.1 kB / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2515, allocations: 1.812 kB / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2515, allocations: 3.562 kB / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2515, allocations: 1.219 kB / 0.6518 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.2518, allocations: 352.8 kB / 0.6522 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2518, allocations: 1.531 kB / 0.6522 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.2519, allocations: 26.59 kB / 0.6522 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2519, allocations: 0.5938 kB / 0.6522 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2519, allocations: 2.469 kB / 0.6522 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2519, allocations: 7.219 kB / 0.6522 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2519, allocations: 5.562 kB / 0.6522 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2521, allocations: 244.8 kB / 0.6524 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.2521, allocations: 7.203 kB / 0.6524 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2522, allocations: 10.81 kB / 0.6524 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.2522, allocations: 5.875 kB / 0.6525 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.2522, allocations: 10.92 kB / 0.6525 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.2522, allocations: 7.781 kB / 0.6525 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.7e-05/0.2523, allocations: 79.53 kB / 0.6525 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2523, allocations: 0 / 0.6525 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001781/0.2524, allocations: 43.89 kB / 0.6526 GB, free: 53.31 MB / 0.5573 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.0004493/0.2529, allocations: 0.8204 MB / 0.6534 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.2531, allocations: 81.47 kB / 0.6535 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2531, allocations: 0 / 0.6535 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.2531, allocations: 44.47 kB / 0.6535 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.2534, allocations: 19.42 kB / 0.6535 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2545, allocations: 1.55 MB / 0.655 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.2545, allocations: 74.91 kB / 0.6551 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.2545, allocations: 18.42 kB / 0.6551 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.2546, allocations: 25.05 kB / 0.6552 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.2546, allocations: 0 / 0.6552 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.27, allocations: 3.021 MB / 0.6581 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.351/6.621, allocations: 15.3 kB / 0.6581 GB, free: 50.44 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.194653804413974] Failed to read output from testmodel.py, exit status != 0: 6.698084492236376 6.706517945 6.456951938 Calling exit ...