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.001433/0.001433, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001374/0.001374, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.402/1.402, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.002386/0.002386, allocations: 288.9 kB / 309.8 MB, free: 3.457 MB / 238.1 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 1.03/1.03, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003034/0.003034, allocations: 91.86 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5492, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002495/0.5517, allocations: 1.493 MB / 0.8292 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.5527, allocations: 0.6292 MB / 0.8299 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.5527, allocations: 4 kB / 0.8299 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.5527, allocations: 9.234 kB / 0.8299 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.5528, allocations: 11.2 kB / 0.8299 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.5533, allocations: 162.2 kB / 0.83 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.5534, allocations: 54.28 kB / 0.8301 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.5535, allocations: 8.156 kB / 0.8301 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/0.5535, allocations: 20.88 kB / 0.8301 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.5536, allocations: 34.08 kB / 0.8301 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.5536, allocations: 3.688 kB / 0.8301 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.5541, allocations: 339.7 kB / 0.8305 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.5541, allocations: 16.56 kB / 0.8305 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.5541, allocations: 26.56 kB / 0.8305 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.5544, allocations: 175.1 kB / 0.8307 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5544, allocations: 0.75 kB / 0.8307 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5544, allocations: 0 / 0.8307 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.5544, allocations: 1.469 kB / 0.8307 GB, free: 1.23 MB / 0.5762 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.0005626/0.555, allocations: 409.2 kB / 0.8311 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.555, allocations: 9.312 kB / 0.8311 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.462e-05/0.555, allocations: 2.812 kB / 0.8311 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.629e-05/0.5551, allocations: 38.78 kB / 0.8311 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.5551, allocations: 7.516 kB / 0.8311 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.5552, allocations: 165.1 kB / 0.8313 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.5552, allocations: 7 kB / 0.8313 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.5552, allocations: 5.625 kB / 0.8313 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.5555, allocations: 82.2 kB / 0.8314 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5555, allocations: 3.984 kB / 0.8314 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5555, allocations: 10 kB / 0.8314 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5555, allocations: 1.281 kB / 0.8314 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.5558, allocations: 53.75 kB / 0.8314 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.5562, allocations: 323.2 kB / 0.8318 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.5565, allocations: 79.59 kB / 0.8318 GB, free: 168 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.5566, allocations: 29.72 kB / 0.8319 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.5567, allocations: 3.25 kB / 0.8319 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.5567, allocations: 35.25 kB / 0.8319 GB, free: 108 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.5567, allocations: 4 kB / 0.8319 GB, free: 104 kB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001624/0.5583, allocations: 0.6407 MB / 0.8325 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.5584, allocations: 61.44 kB / 0.8326 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.5584, allocations: 105 kB / 0.8327 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.5584, allocations: 25.7 kB / 0.8327 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.5585, allocations: 90.78 kB / 0.8328 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.5585, allocations: 41.91 kB / 0.8328 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.5586, allocations: 29.39 kB / 0.8329 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5587, allocations: 320 kB / 0.8332 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.5589, allocations: 39 kB / 0.8332 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.559, allocations: 29.55 kB / 0.8332 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.5592, allocations: 73.05 kB / 0.8333 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5592, allocations: 0 / 0.8333 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003115/0.5595, allocations: 119.4 kB / 0.8334 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5596, allocations: 8.188 kB / 0.8334 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5596, allocations: 4 kB / 0.8334 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5596, allocations: 0.7969 kB / 0.8334 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.5597, allocations: 29.55 kB / 0.8335 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5597, allocations: 5.031 kB / 0.8335 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.5598, allocations: 4.984 kB / 0.8335 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.5598, allocations: 8.984 kB / 0.8335 GB, free: 14.79 MB / 0.5919 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 9.879e-05/0.5599, allocations: 116.1 kB / 0.8336 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.5599, allocations: 3.531 kB / 0.8336 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.5603, allocations: 141.5 kB / 0.8337 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5603, allocations: 2.031 kB / 0.8337 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5604, allocations: 3.938 kB / 0.8337 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5604, allocations: 0.75 kB / 0.8337 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.5609, allocations: 376.8 kB / 0.8341 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5609, allocations: 0 / 0.8341 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.5611, allocations: 31.42 kB / 0.8341 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.5611, allocations: 15.08 kB / 0.8341 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.5611, allocations: 4.75 kB / 0.8341 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5611, allocations: 1.406 kB / 0.8341 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5611, allocations: 0.75 kB / 0.8341 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.5616, allocations: 252.3 kB / 0.8344 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.5617, allocations: 81.66 kB / 0.8345 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.5617, allocations: 7.172 kB / 0.8345 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.5618, allocations: 8.109 kB / 0.8345 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.5618, allocations: 4.594 kB / 0.8345 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.5618, allocations: 8.438 kB / 0.8345 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.5619, allocations: 78.66 kB / 0.8346 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5619, allocations: 0 / 0.8346 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002906/0.5622, allocations: 49.28 kB / 0.8346 GB, free: 13.87 MB / 0.5919 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.0009639/0.5631, allocations: 0.8172 MB / 0.8354 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003392/0.5635, allocations: 78.25 kB / 0.8355 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5635, allocations: 0 / 0.8355 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.5636, allocations: 52.94 kB / 0.8355 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.5639, allocations: 12.12 kB / 0.8355 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.5663, allocations: 1.586 MB / 0.8371 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.5666, allocations: 0.6906 MB / 0.8378 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.261e-05/0.5667, allocations: 18.5 kB / 0.8378 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.5668, allocations: 23.08 kB / 0.8378 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.5668, allocations: 4 kB / 0.8378 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.588, allocations: 2.412 MB / 0.8402 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.958, allocations: 18.94 kB / 0.8402 GB, free: 10.61 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 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: 12.730552618042566] Failed to read output from testmodel.py, exit status != 0: 9.087823120004032 9.120630342 8.562367117 Calling exit ...