Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.00137/0.00137, allocations: 105.6 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.001531/0.001531, 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.481/1.481, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 443.5 MB / 0.7287 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_10_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_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 67.91 kB / 1.056 GB, free: 2.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3639, allocations: 160.7 MB / 1.213 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003483/0.3674, allocations: 1.478 MB / 1.214 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.369, allocations: 0.6312 MB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.3691, allocations: 0 / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.682e-05/0.3692, allocations: 7.922 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.3693, allocations: 11.92 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.3703, allocations: 155.4 kB / 1.215 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3705, allocations: 55.83 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.3706, allocations: 3.938 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3707, allocations: 27.86 kB / 1.215 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.3708, allocations: 31.89 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.3708, allocations: 4 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007501/0.3716, allocations: 343.4 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.3716, allocations: 15.92 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.3717, allocations: 27.86 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005181/0.3722, allocations: 171.7 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3722, allocations: 0 / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3722, allocations: 0 / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.3722, allocations: 3.938 kB / 1.216 GB, free: 14.45 MB / 0.9669 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.0009716/0.3732, allocations: 406.9 kB / 1.216 GB, free: 14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/0.3732, allocations: 15.97 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/0.3733, allocations: 38.75 kB / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.3734, allocations: 4.938 kB / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3736, allocations: 172.3 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.3737, allocations: 4.375 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.3737, allocations: 12.36 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.374, allocations: 81.47 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.374, allocations: 3.938 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.3741, allocations: 4 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.3741, allocations: 4 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.3743, allocations: 55.89 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/0.3751, allocations: 316.7 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.3753, allocations: 82.47 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3755, allocations: 24.84 kB / 1.217 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3755, allocations: 11.98 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3755, allocations: 30.56 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.3755, allocations: 0 / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001785/0.3773, allocations: 0.6463 MB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3774, allocations: 51.41 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.3775, allocations: 101.8 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3775, allocations: 25.7 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.3775, allocations: 100.1 kB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.3776, allocations: 43.58 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.3776, allocations: 25.72 kB / 1.218 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3778, allocations: 322.8 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3779, allocations: 23.98 kB / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.378, allocations: 39.91 kB / 1.218 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.3783, allocations: 80.77 kB / 1.218 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3783, allocations: 0 / 1.218 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003205/0.3786, allocations: 117.7 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3786, allocations: 4 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.3786, allocations: 4 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3787, allocations: 0 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3788, allocations: 27.92 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3788, allocations: 3.938 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.3789, allocations: 11.98 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3789, allocations: 8 kB / 1.219 GB, free: 11.27 MB / 0.9669 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.0001042/0.379, allocations: 117.9 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.379, allocations: 3.938 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.3794, allocations: 129.5 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3794, allocations: 0 / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3794, allocations: 3.938 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3794, allocations: 4.188 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.3801, allocations: 390.6 kB / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3801, allocations: 0 / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.3802, allocations: 27.92 kB / 1.219 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.3802, allocations: 7.922 kB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3802, allocations: 8 kB / 1.219 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3802, allocations: 0 / 1.219 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3802, allocations: 0 / 1.219 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.3808, allocations: 243.4 kB / 1.219 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.3808, allocations: 85.09 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3809, allocations: 7.938 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.381, allocations: 7.984 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.381, allocations: 7.984 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.381, allocations: 12.06 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.3811, allocations: 75.28 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3811, allocations: 0 / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002988/0.3814, allocations: 39.88 kB / 1.22 GB, free: 10.01 MB / 0.9669 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.0009748/0.3823, allocations: 0.8214 MB / 1.221 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.3827, allocations: 79.89 kB / 1.221 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3827, allocations: 0 / 1.221 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.3828, allocations: 47.91 kB / 1.221 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3831, allocations: 8 kB / 1.221 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.3855, allocations: 1.612 MB / 1.222 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.3859, allocations: 0.6925 MB / 1.223 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.805e-05/0.386, allocations: 20.64 kB / 1.223 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/0.386, allocations: 23.44 kB / 1.223 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.386, allocations: 0 / 1.223 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.415, allocations: 2.352 MB / 1.225 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.636, allocations: 3.938 kB / 1.225 GB, free: 4.414 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.590397410094738] Failed to read output from testmodel.py, exit status != 0: 8.704429491888732 8.723096621 8.347189041 Calling exit ...