Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001685/0.001685, 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.002019/0.002019, 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.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 3.746 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.688/2.688, allocations: 443.5 MB / 0.7287 GB, free: 14.52 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_DerivativeCheck,fileNamePrefix="Buildings_10_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_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.89 kB / 1.056 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 160.7 MB / 1.213 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002567/0.332, allocations: 1.278 MB / 1.214 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3331, allocations: 0.6195 MB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.3332, allocations: 4 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.3332, allocations: 4 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.3332, allocations: 7.922 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.3338, allocations: 143.4 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.3339, allocations: 15.94 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.3339, allocations: 4 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.334, allocations: 11.97 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.334, allocations: 7.938 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.334, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.3345, allocations: 347.3 kB / 1.215 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.3346, allocations: 7.984 kB / 1.215 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.3346, allocations: 11.92 kB / 1.215 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3348, allocations: 143.8 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3349, allocations: 0 / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3349, allocations: 0 / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3349, allocations: 0 / 1.215 GB, free: 14.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004843/0.3353, allocations: 367 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3354, allocations: 12.03 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.3354, allocations: 34.75 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.3355, allocations: 4.938 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3356, allocations: 172.3 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3356, allocations: 8.25 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3356, allocations: 4.375 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3358, allocations: 38.25 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3358, allocations: 3.938 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3358, allocations: 0 / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3358, allocations: 0 / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.3358, allocations: 15.98 kB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.336, allocations: 157.7 kB / 1.216 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3362, allocations: 42.5 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.3363, allocations: 16.86 kB / 1.216 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3363, allocations: 7.922 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3363, allocations: 42.56 kB / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3363, allocations: 0 / 1.216 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.000672/0.337, allocations: 306.4 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.337, allocations: 51.41 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.3371, allocations: 97.86 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3371, allocations: 25.7 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.3372, allocations: 80.14 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3372, allocations: 27.78 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.3372, allocations: 17.72 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3374, allocations: 322.8 kB / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.3374, allocations: 8 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.3374, allocations: 15.94 kB / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.3375, allocations: 33 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3375, allocations: 0 / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001083/0.3376, allocations: 77.56 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3376, allocations: 7.984 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3376, allocations: 0.5156 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3376, allocations: 0 / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.3377, allocations: 12 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3377, allocations: 4 kB / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.3377, allocations: 3.938 kB / 1.217 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3377, allocations: 0 / 1.217 GB, free: 12.6 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 (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 9.028e-05/0.3378, allocations: 113.8 kB / 1.217 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.3378, allocations: 3.938 kB / 1.217 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.338, allocations: 81.56 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.338, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.338, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.338, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.3383, allocations: 315.4 kB / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3383, allocations: 0 / 1.218 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.3384, allocations: 15.98 kB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3384, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.3384, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3384, allocations: 4.188 kB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3384, allocations: 7.938 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.3386, allocations: 188.2 kB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.3387, allocations: 81.14 kB / 1.218 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3387, allocations: 0 / 1.218 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.3388, allocations: 0 / 1.218 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.3388, allocations: 11.98 kB / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3388, allocations: 4 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.3388, allocations: 75.28 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3388, allocations: 4.062 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002442/0.3391, allocations: 23.88 kB / 1.218 GB, free: 11.56 MB / 0.9669 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.0006133/0.3397, allocations: 0.7366 MB / 1.219 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.3398, allocations: 35.92 kB / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3398, allocations: 4.062 kB / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.3398, allocations: 15.98 kB / 1.219 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.34, allocations: 4 kB / 1.219 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3414, allocations: 1.319 MB / 1.22 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.3418, allocations: 0.6845 MB / 1.221 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.3418, allocations: 8.234 kB / 1.221 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.3419, allocations: 15.44 kB / 1.221 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/0.3419, allocations: 0 / 1.221 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3695, allocations: 1.631 MB / 1.223 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/8.757, allocations: 19.38 kB / 1.223 GB, free: 7.145 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.755648992024362] Failed to read output from testmodel.py, exit status != 0: 8.828913330100477 8.857321007 8.516758429 Calling exit ...