Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001497/0.001497, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001633/0.001633, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.908/2.908, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.002488/0.002488, allocations: 66.52 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3081, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002512/0.3106, allocations: 1.304 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3116, allocations: 0.5332 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.3117, allocations: 4 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.3117, allocations: 3.984 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.3117, allocations: 7.922 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.3124, allocations: 154 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.3125, allocations: 15.94 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.3125, allocations: 7.984 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.3126, allocations: 11.94 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.3126, allocations: 7.984 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3126, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.3131, allocations: 267.5 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.3131, allocations: 11.88 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.3131, allocations: 7.984 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.3134, allocations: 135.9 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3134, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.539e-06/0.3135, allocations: 3.984 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3135, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004801/0.3139, allocations: 282 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.314, allocations: 8.031 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.314, allocations: 38.62 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.3141, allocations: 8.891 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3142, allocations: 110.5 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3142, allocations: 4.375 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.3142, allocations: 8.375 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.3144, allocations: 63.95 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3144, allocations: 11.88 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3144, allocations: 0 / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3144, allocations: 0 / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.3144, allocations: 4 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.3146, allocations: 132.8 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.3148, allocations: 42.5 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.3149, allocations: 16.86 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3149, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3149, allocations: 38.64 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3149, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.000615/0.3155, allocations: 233.2 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3156, allocations: 51.41 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.3156, allocations: 106.1 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3157, allocations: 25.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.3157, allocations: 88.12 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3157, allocations: 19.8 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.3158, allocations: 21.72 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3159, allocations: 314.8 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.3159, allocations: 16 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.316, allocations: 8 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.903e-05/0.316, allocations: 32.84 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.316, allocations: 0 / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001139/0.3161, allocations: 77.72 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3161, allocations: 4 kB / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3161, allocations: 4.062 kB / 1.367 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3162, allocations: 7.938 kB / 1.367 GB, free: 9.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.3162, allocations: 8 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3162, allocations: 0 / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.3162, allocations: 0 / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3163, allocations: 8 kB / 1.368 GB, free: 9.605 MB / 1.061 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 (7): * Single equations (assignments): 7 * 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 7.998e-05/0.3163, allocations: 109.8 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.3163, allocations: 11.92 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.3165, allocations: 73.62 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3165, allocations: 0 / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3165, allocations: 0 / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3165, allocations: 4 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.3169, allocations: 286.4 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3169, allocations: 0 / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.317, allocations: 15.94 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.317, allocations: 4.031 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.317, allocations: 4 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.317, allocations: 3.984 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.317, allocations: 0 / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.3172, allocations: 180.3 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.3172, allocations: 8.016 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3172, allocations: 0 / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.3173, allocations: 4 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.3173, allocations: 4.125 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3173, allocations: 12 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.3174, allocations: 83.33 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3174, allocations: 0 / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002477/0.3176, allocations: 19.94 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005974/0.3182, allocations: 0.7366 MB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3183, allocations: 31.92 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3183, allocations: 4 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.3184, allocations: 11.94 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3186, allocations: 8 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3199, allocations: 1.32 MB / 1.37 GB, free: 6.477 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.721e-05/0.3199, allocations: 63.34 kB / 1.37 GB, free: 6.395 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.32, allocations: 8.062 kB / 1.37 GB, free: 6.387 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.32, allocations: 15.44 kB / 1.37 GB, free: 6.375 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.32, allocations: 0 / 1.37 GB, free: 6.375 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.3489, allocations: 2.11 MB / 1.373 GB, free: 4.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.51, allocations: 12.72 kB / 1.373 GB, free: 4.422 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.46558618498966] Failed to read output from testmodel.py, exit status != 0: 10.616854659281671 10.63058041 10.314284921 Calling exit ...