Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007724/0.0007724, 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.0008958/0.0008958, 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.8543/0.8543, 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/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.00133/0.00133, allocations: 234.4 kB / 259.4 MB, free: 13.02 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.6561/0.6561, allocations: 138.4 MB / 454.3 MB, free: 30 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_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.357e-05, allocations: 5.234 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001665/0.001679, allocations: 1.303 MB / 0.6476 GB, free: 0.5859 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006354/0.002314, allocations: 0.5487 MB / 0.6481 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.002338, allocations: 0 / 0.6481 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.002355, allocations: 0 / 0.6481 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.25e-05/0.002387, allocations: 7.922 kB / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2257/0.2281, allocations: 141.1 kB / 0.6482 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.2282, allocations: 23.72 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.2282, allocations: 2.078 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.2282, allocations: 14.81 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.2283, allocations: 8.75 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.2283, allocations: 0.5312 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.2286, allocations: 270.7 kB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2286, allocations: 4.984 kB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.2286, allocations: 5.391 kB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2289, allocations: 159.2 kB / 0.6487 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2289, allocations: 1.562 kB / 0.6487 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2289, allocations: 0.5 kB / 0.6487 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2289, allocations: 0 / 0.6487 GB, free: 55.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002824/0.2292, allocations: 293.7 kB / 0.649 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2292, allocations: 12.14 kB / 0.649 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.148e-05/0.2292, allocations: 33.47 kB / 0.649 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.2292, allocations: 1.938 kB / 0.649 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.07e-05/0.2293, allocations: 107.3 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2293, allocations: 4.297 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2293, allocations: 7.594 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.2294, allocations: 66.83 kB / 0.6492 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2294, allocations: 1.406 kB / 0.6492 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.2294, allocations: 1.438 kB / 0.6492 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2294, allocations: 6.406 kB / 0.6492 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.2295, allocations: 10.27 kB / 0.6492 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.605e-05/0.2295, allocations: 126 kB / 0.6493 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.2297, allocations: 45.98 kB / 0.6494 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.2297, allocations: 20.05 kB / 0.6494 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.2297, allocations: 1.188 kB / 0.6494 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.2297, allocations: 33.98 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2298, allocations: 1.656 kB / 0.6494 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.000416/0.2302, allocations: 242.5 kB / 0.6497 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.2302, allocations: 52.41 kB / 0.6497 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.064e-05/0.2302, allocations: 99.06 kB / 0.6498 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.2302, allocations: 30.12 kB / 0.6498 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.154e-05/0.2302, allocations: 81.17 kB / 0.6499 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2303, allocations: 17.86 kB / 0.6499 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.2303, allocations: 26.08 kB / 0.65 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.665e-05/0.2303, allocations: 316.3 kB / 0.6503 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.2303, allocations: 10.77 kB / 0.6503 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.2303, allocations: 10.67 kB / 0.6503 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.2304, allocations: 33.11 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2304, allocations: 0.875 kB / 0.6503 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.334e-05/0.2304, allocations: 65 kB / 0.6504 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2305, allocations: 5.375 kB / 0.6504 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2305, allocations: 0.5156 kB / 0.6504 GB, free: 54.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2305, allocations: 11.78 kB / 0.6504 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.091e-05/0.2305, allocations: 9 kB / 0.6504 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2305, allocations: 4.688 kB / 0.6504 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.2305, allocations: 2.562 kB / 0.6504 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2305, allocations: 3.859 kB / 0.6504 GB, free: 54.32 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 (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 3.427e-05/0.2306, allocations: 112.9 kB / 0.6505 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.2306, allocations: 8.703 kB / 0.6505 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-05/0.2307, allocations: 74.08 kB / 0.6506 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2307, allocations: 7.531 kB / 0.6506 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2307, allocations: 0 / 0.6506 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2307, allocations: 2.438 kB / 0.6506 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2309, allocations: 278.6 kB / 0.6509 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2309, allocations: 7.5 kB / 0.6509 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.2309, allocations: 12.88 kB / 0.6509 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2309, allocations: 1.484 kB / 0.6509 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.2309, allocations: 2.062 kB / 0.6509 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2309, allocations: 3.094 kB / 0.6509 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2309, allocations: 4.391 kB / 0.6509 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.231, allocations: 170.8 kB / 0.6511 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.231, allocations: 16.5 kB / 0.6511 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.231, allocations: 0.875 kB / 0.6511 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.169e-05/0.2311, allocations: 3.812 kB / 0.6511 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.2311, allocations: 5.375 kB / 0.6511 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2311, allocations: 3.312 kB / 0.6511 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.315e-05/0.2311, allocations: 84 kB / 0.6512 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2311, allocations: 0.5625 kB / 0.6512 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001563/0.2313, allocations: 30.36 kB / 0.6512 GB, free: 53.67 MB / 0.5573 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.0002354/0.2315, allocations: 0.728 MB / 0.6519 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.362e-05/0.2316, allocations: 36.66 kB / 0.652 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2316, allocations: 0 / 0.652 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.2316, allocations: 19.02 kB / 0.652 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.2317, allocations: 5.391 kB / 0.652 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.2323, allocations: 1.314 MB / 0.6533 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.2324, allocations: 62.22 kB / 0.6533 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.2324, allocations: 8.203 kB / 0.6533 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.2324, allocations: 16.34 kB / 0.6533 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of SimCode: time 2.7e-07/0.2324, allocations: 4.062 kB / 0.6533 GB, free: 51.74 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.2475, allocations: 2.275 MB / 0.6556 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.382/6.63, allocations: 7.938 kB / 0.6556 GB, free: 50.94 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.073275618255138] Failed to read output from testmodel.py, exit status != 0: 6.706911380402744 6.715176642 6.484590868 Calling exit ...