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.00139/0.00139, allocations: 113 kB / 18.94 MB, free: 2.934 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.001591/0.001591, allocations: 208.4 kB / 22.25 MB, free: 5.086 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 8.023 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.354/3.354, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.002119/0.002119, allocations: 72.83 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3811, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002788/0.3839, allocations: 1.313 MB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.385, allocations: 0.6189 MB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.3851, allocations: 0 / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.3851, allocations: 3.938 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.3852, allocations: 8.031 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.3859, allocations: 154.2 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.3859, allocations: 27.75 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.386, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.386, allocations: 15.98 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.3861, allocations: 15.94 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.3861, allocations: 4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.3867, allocations: 343.3 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.3867, allocations: 8 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.3867, allocations: 19.91 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.387, allocations: 139.9 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.387, allocations: 7.938 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.387, allocations: 0 / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.387, allocations: 0 / 1.329 GB, free: 15.28 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.0005022/0.3875, allocations: 309.8 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3876, allocations: 8.031 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.3876, allocations: 30.75 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.3877, allocations: 8.922 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3878, allocations: 102.5 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3878, allocations: 8.375 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3878, allocations: 4.375 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.388, allocations: 54.22 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.388, allocations: 7.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.388, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.388, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.491e-05/0.3881, allocations: 23.92 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.3883, allocations: 140.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3884, allocations: 58.55 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.3885, allocations: 28.86 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3885, allocations: 3.984 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3886, allocations: 34.56 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.3886, allocations: 0 / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001291/0.3898, allocations: 443.9 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.3899, allocations: 55.39 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.39, allocations: 97.86 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.39, allocations: 29.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.3901, allocations: 80.14 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.3901, allocations: 43.58 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.3902, allocations: 25.72 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3903, allocations: 322.8 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.3904, allocations: 19.98 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.108e-05/0.3904, allocations: 20 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3906, allocations: 56.97 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3906, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000178/0.3907, allocations: 113.5 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3908, allocations: 9.5 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3908, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3908, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3909, allocations: 23.98 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3909, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.3909, allocations: 11.92 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.391, allocations: 4 kB / 1.331 GB, free: 12.9 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.0001185/0.3911, allocations: 118.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.3911, allocations: 7.938 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.3914, allocations: 101.7 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3914, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3914, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3914, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.392, allocations: 333.5 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.392, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.3921, allocations: 23.98 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3921, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3922, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3922, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3922, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3925, allocations: 223.3 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.3925, allocations: 7.953 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3925, allocations: 7.984 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.3926, allocations: 8.062 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.3927, allocations: 7.984 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3927, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.3927, allocations: 83.28 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3927, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003156/0.3931, allocations: 31.88 kB / 1.332 GB, free: 11.87 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.0007675/0.3938, allocations: 0.7907 MB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.394, allocations: 55.97 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.394, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.3941, allocations: 35.92 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.3943, allocations: 1.828 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.3961, allocations: 1.509 MB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.3965, allocations: 0.6933 MB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.85e-05/0.3965, allocations: 11.98 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.3966, allocations: 27.36 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/0.3966, allocations: 0 / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.4323, allocations: 2.195 MB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.04, allocations: 7.922 kB / 1.337 GB, free: 6.594 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.903400002978742] Failed to read output from testmodel.py, exit status != 0: 12.147576717892662 12.16457583 11.774292739 Calling exit ...