Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 105.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.88 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8156/0.8175, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003453/0.821, allocations: 1.298 MB / 1.27 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.8225, allocations: 0.6189 MB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.8225, allocations: 0 / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.8225, allocations: 0 / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.8226, allocations: 7.922 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.8234, allocations: 152.4 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.8235, allocations: 23.92 kB / 1.271 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.8235, allocations: 0 / 1.271 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.8236, allocations: 23.91 kB / 1.271 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.717e-05/0.8236, allocations: 15.88 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.8236, allocations: 4 kB / 1.271 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007613/0.8244, allocations: 339.4 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.8244, allocations: 7.984 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.8245, allocations: 11.94 kB / 1.271 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.8248, allocations: 157.3 kB / 1.271 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8249, allocations: 4 kB / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8249, allocations: 0 / 1.271 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.8249, allocations: 0 / 1.271 GB, free: 2.477 MB / 0.9669 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.0006162/0.8255, allocations: 375 kB / 1.272 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.8255, allocations: 8.031 kB / 1.272 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.8256, allocations: 34.75 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.8256, allocations: 4.891 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.8258, allocations: 172.3 kB / 1.272 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.8258, allocations: 4.375 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.8259, allocations: 16.25 kB / 1.272 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.826, allocations: 46.25 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.826, allocations: 7.938 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.8261, allocations: 0 / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.8261, allocations: 0 / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.8261, allocations: 19.98 kB / 1.272 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.8264, allocations: 161.7 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.8266, allocations: 66.48 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.8266, allocations: 28.86 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.8267, allocations: 0 / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.8267, allocations: 30.56 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8267, allocations: 0 / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001613/0.8283, allocations: 0.5956 MB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.8284, allocations: 55.41 kB / 1.273 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.8285, allocations: 93.84 kB / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.8285, allocations: 33.7 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.8286, allocations: 80.14 kB / 1.273 GB, free: 380 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.8286, allocations: 43.61 kB / 1.273 GB, free: 336 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.8287, allocations: 25.72 kB / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.8289, allocations: 323 kB / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.8289, allocations: 16 kB / 1.273 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.829, allocations: 30.23 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.8291, allocations: 56.84 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.8291, allocations: 0 / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002196/0.8294, allocations: 101.2 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.8294, allocations: 8 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8294, allocations: 0 / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8294, allocations: 0 / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.8296, allocations: 23.92 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.8296, allocations: 4 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.8296, allocations: 4.094 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.8296, allocations: 7.938 kB / 1.274 GB, free: 15.72 MB / 0.9825 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 0.0001157/0.8297, allocations: 113.8 kB / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.8298, allocations: 11.89 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003087/0.8301, allocations: 113.5 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.8301, allocations: 4 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8301, allocations: 0 / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.8301, allocations: 4 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.8307, allocations: 350.5 kB / 1.274 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8307, allocations: 0 / 1.274 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.8309, allocations: 27.92 kB / 1.274 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.8309, allocations: 0 / 1.274 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.8309, allocations: 4 kB / 1.274 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.8309, allocations: 0 / 1.274 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8309, allocations: 4 kB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.8313, allocations: 215.4 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.8313, allocations: 81.14 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.8314, allocations: 3.984 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.8315, allocations: 4 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.8315, allocations: 4 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.8315, allocations: 7.984 kB / 1.275 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.8316, allocations: 79.22 kB / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8316, allocations: 3.938 kB / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004629/0.8321, allocations: 44.03 kB / 1.275 GB, free: 14.55 MB / 0.9825 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.0009527/0.833, allocations: 0.7835 MB / 1.275 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.8332, allocations: 63.84 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.8332, allocations: 0 / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.8333, allocations: 27.94 kB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.8337, allocations: 20.08 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.8359, allocations: 1.499 MB / 1.277 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.8363, allocations: 0.6885 MB / 1.278 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.8364, allocations: 7.938 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.8364, allocations: 23.44 kB / 1.278 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.8364, allocations: 0 / 1.278 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.867, allocations: 2.094 MB / 1.28 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/9.268, allocations: 31.05 kB / 1.28 GB, free: 9.387 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.043920094147325] Failed to read output from testmodel.py, exit status != 0: 9.337885063141584 9.355527302 8.527252486 Calling exit ...