Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001248/0.001248, allocations: 116.1 kB / 17.17 MB, free: 6 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.001378/0.001378, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002356/0.002356, allocations: 287.7 kB / 309.8 MB, free: 3.434 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.029/1.029, allocations: 180.6 MB / 0.5338 GB, free: 12.37 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_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.003076/0.003076, allocations: 101.3 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5194, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002293/0.5217, allocations: 1.3 MB / 0.8291 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.5225, allocations: 0.6271 MB / 0.8297 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.5226, allocations: 2.562 kB / 0.8297 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.5226, allocations: 0.7031 kB / 0.8297 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.5226, allocations: 4.594 kB / 0.8297 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005295/0.5232, allocations: 156.2 kB / 0.8298 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.5232, allocations: 24.14 kB / 0.8298 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.5233, allocations: 6.5 kB / 0.8299 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.5233, allocations: 11.03 kB / 0.8299 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.5233, allocations: 14.84 kB / 0.8299 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.5234, allocations: 6.938 kB / 0.8299 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.5238, allocations: 342.6 kB / 0.8302 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.5238, allocations: 5.625 kB / 0.8302 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.5238, allocations: 15.86 kB / 0.8302 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.5241, allocations: 157.6 kB / 0.8304 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5241, allocations: 0.8438 kB / 0.8304 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5241, allocations: 0 / 0.8304 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5241, allocations: 0 / 0.8304 GB, free: 1.414 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003498/0.5244, allocations: 369.3 kB / 0.8307 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.5245, allocations: 10.28 kB / 0.8307 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.454e-05/0.5245, allocations: 2.438 kB / 0.8307 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.934e-05/0.5245, allocations: 35.27 kB / 0.8308 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.5245, allocations: 13.36 kB / 0.8308 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.045e-05/0.5246, allocations: 161.1 kB / 0.8309 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.5246, allocations: 3 kB / 0.831 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.5247, allocations: 7.672 kB / 0.831 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.5248, allocations: 53.11 kB / 0.831 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5248, allocations: 3.062 kB / 0.831 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.5248, allocations: 0.7031 kB / 0.831 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.5248, allocations: 3.938 kB / 0.831 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.78e-05/0.5248, allocations: 18.56 kB / 0.831 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.525, allocations: 166.7 kB / 0.8312 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.5251, allocations: 60.31 kB / 0.8313 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.5251, allocations: 28.5 kB / 0.8313 GB, free: 484 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.5251, allocations: 7.922 kB / 0.8313 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.5251, allocations: 35.02 kB / 0.8313 GB, free: 432 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.5251, allocations: 0 / 0.8313 GB, free: 432 kB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001018/0.5262, allocations: 0.5888 MB / 0.8319 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.5262, allocations: 51.41 kB / 0.8319 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.5263, allocations: 98.12 kB / 0.832 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.5263, allocations: 29.2 kB / 0.8321 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.5263, allocations: 88.2 kB / 0.8322 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.5264, allocations: 44.66 kB / 0.8322 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.5264, allocations: 24.78 kB / 0.8322 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5266, allocations: 316.6 kB / 0.8325 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.5266, allocations: 18.03 kB / 0.8325 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/0.5267, allocations: 25.66 kB / 0.8326 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.38e-05/0.5267, allocations: 61.66 kB / 0.8326 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5267, allocations: 0 / 0.8326 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001453/0.5269, allocations: 95.89 kB / 0.8327 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5269, allocations: 10.47 kB / 0.8327 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5269, allocations: 0 / 0.8327 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.5269, allocations: 0.75 kB / 0.8327 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.527, allocations: 18.92 kB / 0.8327 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.527, allocations: 5.906 kB / 0.8327 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.5271, allocations: 4 kB / 0.8327 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.5271, allocations: 5.719 kB / 0.8328 GB, free: 15.14 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.485e-05/0.5272, allocations: 117.2 kB / 0.8329 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.5272, allocations: 6.578 kB / 0.8329 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.5274, allocations: 116.4 kB / 0.833 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5274, allocations: 1.125 kB / 0.833 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5274, allocations: 4 kB / 0.833 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5274, allocations: 3.281 kB / 0.833 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.5279, allocations: 354.9 kB / 0.8333 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5279, allocations: 0 / 0.8333 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.528, allocations: 20.05 kB / 0.8333 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.528, allocations: 1.25 kB / 0.8333 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.528, allocations: 2 kB / 0.8334 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.528, allocations: 9.281 kB / 0.8334 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.528, allocations: 0.6562 kB / 0.8334 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.5282, allocations: 220.3 kB / 0.8336 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.5283, allocations: 81.95 kB / 0.8336 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5283, allocations: 7.203 kB / 0.8337 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.5284, allocations: 0.5625 kB / 0.8337 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.5284, allocations: 6.562 kB / 0.8337 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.5284, allocations: 11.53 kB / 0.8337 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.5285, allocations: 78.3 kB / 0.8337 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5285, allocations: 0 / 0.8337 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002856/0.5288, allocations: 41.77 kB / 0.8338 GB, free: 14.22 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0006557/0.5294, allocations: 0.775 MB / 0.8345 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.5296, allocations: 64.92 kB / 0.8346 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5296, allocations: 0 / 0.8346 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.5296, allocations: 36.08 kB / 0.8346 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.5299, allocations: 7.375 kB / 0.8346 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.5314, allocations: 1.495 MB / 0.8361 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5317, allocations: 0.6928 MB / 0.8368 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.5318, allocations: 11.53 kB / 0.8368 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.5318, allocations: 21.3 kB / 0.8368 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5318, allocations: 0 / 0.8368 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.5532, allocations: 2.155 MB / 0.8389 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.831, allocations: 18.88 kB / 0.8389 GB, free: 11 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.670352455985267] Failed to read output from testmodel.py, exit status != 0: 8.959823061013594 8.989779572 8.461360146 Calling exit ...