Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.88 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002052/1.02, allocations: 1.278 MB / 1.305 GB, free: 31.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008299/1.021, allocations: 0.6146 MB / 1.306 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/1.021, allocations: 0 / 1.306 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/1.021, allocations: 0 / 1.306 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/1.021, allocations: 3.938 kB / 1.306 GB, free: 30.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/1.021, allocations: 150.2 kB / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/1.021, allocations: 19.64 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/1.021, allocations: 2.938 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/1.021, allocations: 6.938 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/1.021, allocations: 10.31 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/1.021, allocations: 2.781 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/1.022, allocations: 342.2 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/1.022, allocations: 4 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/1.022, allocations: 13.05 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/1.022, allocations: 148.3 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.022, allocations: 2.656 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/1.022, allocations: 0 / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.022, allocations: 4 kB / 1.306 GB, free: 30.55 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.0003317/1.022, allocations: 364.3 kB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/1.023, allocations: 12 kB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/1.023, allocations: 30.75 kB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/1.023, allocations: 0.9375 kB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.349e-05/1.023, allocations: 167.3 kB / 1.307 GB, free: 29.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/1.023, allocations: 4.359 kB / 1.307 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/1.023, allocations: 3.156 kB / 1.307 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/1.023, allocations: 43.25 kB / 1.307 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.023, allocations: 3.938 kB / 1.307 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/1.023, allocations: 3.938 kB / 1.307 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/1.023, allocations: 3.031 kB / 1.307 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/1.023, allocations: 9.656 kB / 1.307 GB, free: 29.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/1.023, allocations: 158.6 kB / 1.307 GB, free: 29.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/1.023, allocations: 35.95 kB / 1.307 GB, free: 29.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/1.023, allocations: 25.67 kB / 1.307 GB, free: 29.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/1.023, allocations: 3.938 kB / 1.307 GB, free: 29.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/1.023, allocations: 34.5 kB / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/1.023, allocations: 0 / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005238/1.024, allocations: 317 kB / 1.308 GB, free: 29.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/1.024, allocations: 54.28 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.523e-05/1.024, allocations: 99.77 kB / 1.308 GB, free: 29.13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/1.024, allocations: 29.7 kB / 1.308 GB, free: 29.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.416e-05/1.024, allocations: 82.61 kB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/1.024, allocations: 21.86 kB / 1.308 GB, free: 29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/1.024, allocations: 18.69 kB / 1.308 GB, free: 28.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.132e-05/1.024, allocations: 310.8 kB / 1.308 GB, free: 28.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/1.024, allocations: 19.38 kB / 1.308 GB, free: 28.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.728e-05/1.024, allocations: 9.969 kB / 1.308 GB, free: 28.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/1.024, allocations: 30.34 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/1.024, allocations: 4 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.972e-05/1.024, allocations: 70.92 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.024, allocations: 9 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.024, allocations: 4.062 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/1.024, allocations: 0 / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-05/1.024, allocations: 8.5 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.024, allocations: 2.625 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/1.024, allocations: 0 / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/1.024, allocations: 0 / 1.308 GB, free: 28.58 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 4.48e-05/1.024, allocations: 124.3 kB / 1.309 GB, free: 28.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/1.024, allocations: 11.19 kB / 1.309 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/1.024, allocations: 78.61 kB / 1.309 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/1.024, allocations: 0 / 1.309 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.024, allocations: 0 / 1.309 GB, free: 28.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.024, allocations: 7.781 kB / 1.309 GB, free: 28.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/1.025, allocations: 311.4 kB / 1.309 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.025, allocations: 0 / 1.309 GB, free: 28.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/1.025, allocations: 17.77 kB / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.025, allocations: 4.031 kB / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/1.025, allocations: 2.938 kB / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.025, allocations: 0 / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.025, allocations: 0 / 1.309 GB, free: 28.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/1.025, allocations: 183.9 kB / 1.309 GB, free: 27.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/1.025, allocations: 87.19 kB / 1.309 GB, free: 27.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/1.025, allocations: 3.188 kB / 1.309 GB, free: 27.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/1.025, allocations: 4.062 kB / 1.309 GB, free: 27.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/1.025, allocations: 7.031 kB / 1.309 GB, free: 27.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/1.025, allocations: 6.938 kB / 1.309 GB, free: 27.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.895e-05/1.025, allocations: 81.72 kB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.025, allocations: 0 / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002502/1.025, allocations: 18.34 kB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0003187/1.025, allocations: 0.7372 MB / 1.31 GB, free: 27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001023/1.026, allocations: 34.81 kB / 1.31 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.026, allocations: 0 / 1.31 GB, free: 26.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/1.026, allocations: 18.88 kB / 1.31 GB, free: 26.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/1.026, allocations: 13.66 kB / 1.31 GB, free: 26.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/1.027, allocations: 1.33 MB / 1.311 GB, free: 25.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.679e-05/1.027, allocations: 0.6782 MB / 1.312 GB, free: 25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.833e-05/1.027, allocations: 8.312 kB / 1.312 GB, free: 25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/1.027, allocations: 21.81 kB / 1.312 GB, free: 24.99 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.027, allocations: 2.812 kB / 1.312 GB, free: 24.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/1.053, allocations: 1.608 MB / 1.314 GB, free: 24.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/9.039, allocations: 14.78 kB / 1.314 GB, free: 24.63 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.2724106637761] Failed to read output from testmodel.py, exit status != 0: 9.105951093137264 9.116711073 8.091979092 Calling exit ...