Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001601/0.001601, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001673/0.001673, allocations: 222 kB / 22.25 MB, free: 5.102 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.816 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 2.909/2.909, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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_dp_DerivativeCheck2,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.001859/0.001859, allocations: 65.31 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2787, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002235/0.281, allocations: 1.308 MB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.2819, allocations: 0.541 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.282, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.282, allocations: 3.938 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.058e-05/0.282, allocations: 3.984 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.2825, allocations: 158.6 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.2826, allocations: 27.86 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.2826, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.2827, allocations: 15.92 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.2827, allocations: 11.94 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2827, allocations: 7.984 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.2832, allocations: 279.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.2832, allocations: 4 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.2832, allocations: 19.91 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.2834, allocations: 139.8 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2834, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2834, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2834, allocations: 4 kB / 1.328 GB, free: 14.93 MB / 1.029 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.0003908/0.2838, allocations: 301.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2839, allocations: 8.031 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.2839, allocations: 34.75 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.2839, allocations: 0.9375 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.284, allocations: 114.5 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.284, allocations: 384 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.2841, allocations: 4.375 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.2842, allocations: 109.6 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2842, allocations: 3.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.2842, allocations: 4 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2842, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.2843, allocations: 19.98 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.2845, allocations: 140.6 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2846, allocations: 54.56 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.2846, allocations: 32.84 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2846, allocations: 3.984 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2847, allocations: 38.5 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.2847, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001073/0.2857, allocations: 447.9 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.2858, allocations: 55.41 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.2859, allocations: 93.86 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2859, allocations: 29.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.2859, allocations: 80.14 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.286, allocations: 47.58 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.286, allocations: 25.7 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2861, allocations: 318.8 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.2862, allocations: 24.11 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.2862, allocations: 27.92 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.2863, allocations: 52.86 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.2863, allocations: 0 / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000153/0.2865, allocations: 105.6 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2865, allocations: 7.938 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2865, allocations: 0 / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2865, allocations: 3.984 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.2866, allocations: 20 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2866, allocations: 0 / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.2866, allocations: 4 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2866, allocations: 8 kB / 1.33 GB, free: 12.5 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 8.715e-05/0.2867, allocations: 122.3 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.2867, allocations: 3.938 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.2869, allocations: 101.7 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2869, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2869, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2869, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.2873, allocations: 325.7 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2873, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.2874, allocations: 19.98 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2874, allocations: 8 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2874, allocations: 0 / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2874, allocations: 0 / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2874, allocations: 4 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.2877, allocations: 230.8 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.2877, allocations: 7.984 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2877, allocations: 4 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.2878, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.2878, allocations: 7.984 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.2878, allocations: 8 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.2879, allocations: 79.34 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.2879, allocations: 0 / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002498/0.2881, allocations: 39.86 kB / 1.331 GB, free: 11.46 MB / 1.029 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.0005943/0.2887, allocations: 0.7825 MB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.2888, allocations: 51.98 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2888, allocations: 0 / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.2889, allocations: 35.92 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2891, allocations: 1.219 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2906, allocations: 1.516 MB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.357e-05/0.2906, allocations: 75.25 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.2907, allocations: 11.98 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.2907, allocations: 19.44 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.2907, allocations: 4.062 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.3187, allocations: 2.6 MB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.41, allocations: 1.75 kB / 1.336 GB, free: 6.426 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.37449395499425] Failed to read output from testmodel.py, exit status != 0: 10.510384747001808 10.524779989 10.238596927 Calling exit ...