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.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.001203/0.001203, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.001341/0.001341, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.9159/0.9159, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(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 1.553e-06/1.553e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.036e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001739/0.001759, allocations: 1.309 MB / 0.9518 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000742/0.002501, allocations: 0.5531 MB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.002531, allocations: 0 / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.002552, allocations: 3.938 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.38e-05/0.002586, allocations: 0 / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.003086, allocations: 162.4 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.44e-05/0.00315, allocations: 31.84 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.003193, allocations: 4 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.00323, allocations: 15.98 kB / 0.9525 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.003285, allocations: 11.97 kB / 0.9525 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.0033, allocations: 0 / 0.9525 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.003576, allocations: 271.4 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.00359, allocations: 7.984 kB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.003611, allocations: 19.92 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.003814, allocations: 163.5 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003816, allocations: 0 / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.422e-06/0.003818, allocations: 0 / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003822, allocations: 3.938 kB / 0.953 GB, free: 0.8906 MB / 0.9011 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.0003234/0.004145, allocations: 290 kB / 0.9533 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.004183, allocations: 8.031 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.004215, allocations: 38.75 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.004242, allocations: 0.9375 kB / 0.9533 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.804e-05/0.00432, allocations: 117.6 kB / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.00433, allocations: 8.312 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.004352, allocations: 8.375 kB / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.004468, allocations: 101.6 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004478, allocations: 192 / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.004489, allocations: 4.375 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.004494, allocations: 4.125 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.004541, allocations: 19.98 kB / 0.9536 GB, free: 224 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.004677, allocations: 128.8 kB / 0.9537 GB, free: 52 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.004791, allocations: 62.64 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.004825, allocations: 24.86 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.004846, allocations: 4 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.004871, allocations: 42.56 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 6.82e-07/0.004871, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0008246/0.005696, allocations: 451.6 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.005728, allocations: 59.41 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.388e-05/0.005782, allocations: 93.84 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.005795, allocations: 29.7 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.005823, allocations: 88.27 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.00586, allocations: 35.69 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.005894, allocations: 25.72 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.006052, allocations: 318.8 kB / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.006083, allocations: 20 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.006109, allocations: 19.98 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/0.006175, allocations: 60.8 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.006175, allocations: 0 / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.952e-05/0.006275, allocations: 104.9 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.006288, allocations: 11.88 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.006293, allocations: 0 / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.006304, allocations: 4 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.006379, allocations: 27.92 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.006383, allocations: 96 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.006397, allocations: 3.938 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.006403, allocations: 4 kB / 0.9551 GB, free: 14.46 MB / 0.9167 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 5.889e-05/0.006462, allocations: 109.8 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.006471, allocations: 11.95 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.006605, allocations: 105.7 kB / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.006609, allocations: 0 / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.006613, allocations: 0 / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.006616, allocations: 4 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.006892, allocations: 325.5 kB / 0.9556 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.006894, allocations: 0 / 0.9556 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.006955, allocations: 16 kB / 0.9556 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.006958, allocations: 4 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.006965, allocations: 4 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.006967, allocations: 3.938 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006969, allocations: 3.984 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.007135, allocations: 215.4 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.007141, allocations: 4 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.007151, allocations: 8.094 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.007198, allocations: 4 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.007213, allocations: 7.984 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.00722, allocations: 8 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.068e-05/0.007241, allocations: 79.27 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007241, allocations: 0 / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000182/0.007423, allocations: 35.88 kB / 0.956 GB, free: 13.45 MB / 0.9167 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.0003881/0.007811, allocations: 0.7867 MB / 0.9568 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.007924, allocations: 59.91 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007926, allocations: 4.156 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.007954, allocations: 28 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.008108, allocations: 4 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000978/0.009086, allocations: 1.467 MB / 0.9583 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.273e-05/0.009129, allocations: 71.25 kB / 0.9584 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.009162, allocations: 16 kB / 0.9584 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.009198, allocations: 24.47 kB / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.009198, allocations: 0 / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.02952, allocations: 2.711 MB / 0.9611 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.554/6.584, allocations: 11.94 kB / 0.9611 GB, free: 8.34 MB / 0.9167 GB " [Timeout remaining time 293] (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: 10.680862279608846] Failed to read output from testmodel.py, exit status != 0: 6.6630328400060534 6.675543453 6.669220135 Calling exit ...