Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001573/0.001573, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001811/0.001811, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002022/0.002022, allocations: 79.23 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 176.1 MB / 1.321 GB, free: 3.312 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003651/0.3304, allocations: 1.504 MB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3318, allocations: 0.6344 MB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.3319, allocations: 4 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/0.3319, allocations: 7.922 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.332, allocations: 3.938 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.3328, allocations: 163.3 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3329, allocations: 51.84 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.333, allocations: 4 kB / 1.323 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.3331, allocations: 27.92 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.3331, allocations: 27.84 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3331, allocations: 4 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.3337, allocations: 343.4 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.3338, allocations: 11.92 kB / 1.324 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.3338, allocations: 27.86 kB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.3342, allocations: 175.7 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3342, allocations: 0 / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3342, allocations: 3.938 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.3342, allocations: 0 / 1.324 GB, free: 336 kB / 1.014 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.0008407/0.3351, allocations: 402.9 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.3351, allocations: 15.98 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/0.3352, allocations: 38.75 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.3352, allocations: 8.891 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.3354, allocations: 168.4 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.3354, allocations: 8.312 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.3355, allocations: 12.33 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.3358, allocations: 78.22 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3358, allocations: 7.875 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3358, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3358, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.3361, allocations: 51.95 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.3367, allocations: 324.6 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.337, allocations: 86.47 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3372, allocations: 28.83 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3372, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.3372, allocations: 30.56 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.3372, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001955/0.3392, allocations: 0.6386 MB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.3392, allocations: 59.48 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.482e-05/0.3393, allocations: 109.7 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3394, allocations: 29.7 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.3395, allocations: 92.08 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.3395, allocations: 35.7 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3396, allocations: 25.7 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.3399, allocations: 322.8 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.34, allocations: 35.98 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3402, allocations: 36.09 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.3404, allocations: 69.58 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3404, allocations: 0 / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003635/0.3408, allocations: 119.4 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3408, allocations: 4 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3408, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3408, allocations: 4 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.341, allocations: 28.11 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.341, allocations: 7.938 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.3411, allocations: 7.984 kB / 1.326 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3411, allocations: 4 kB / 1.326 GB, free: 13.16 MB / 1.029 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.0001112/0.3412, allocations: 113.8 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.3412, allocations: 11.94 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.3417, allocations: 137.4 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.3417, allocations: 4 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3417, allocations: 3.938 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3417, allocations: 0 / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.3424, allocations: 374.5 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3424, allocations: 4 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.3425, allocations: 35.91 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3425, allocations: 7.938 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3425, allocations: 4 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3426, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3426, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.3432, allocations: 247.5 kB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.3432, allocations: 88.94 kB / 1.327 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.3432, allocations: 4 kB / 1.327 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3434, allocations: 11.98 kB / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.3434, allocations: 8 kB / 1.327 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.3434, allocations: 7.984 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.3435, allocations: 79.28 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3435, allocations: 3.938 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003195/0.3438, allocations: 35.88 kB / 1.328 GB, free: 11.88 MB / 1.029 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.001082/0.3449, allocations: 0.8181 MB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.3452, allocations: 87.88 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.3452, allocations: 4 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3454, allocations: 47.97 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3457, allocations: 9.016 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.3482, allocations: 1.586 MB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3486, allocations: 0.6963 MB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.358e-05/0.3486, allocations: 8.672 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.3487, allocations: 23.42 kB / 1.331 GB, free: 8.48 MB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/0.3487, allocations: 3.938 kB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.3773, allocations: 2.344 MB / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.239, allocations: 12 kB / 1.333 GB, free: 6.312 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.6176753109321] Failed to read output from testmodel.py, exit status != 0: 8.308204035973176 8.322776717 7.98555519 Calling exit ...