Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0007855/0.0007855, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008281/0.0008281, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.833/0.833, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.703/1.703, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_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_latest_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 1.993e-06/1.993e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.485e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002077/0.002102, allocations: 1.471 MB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.002905, allocations: 0.5689 MB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.002945, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.002977, allocations: 7.922 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.003026, allocations: 3.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.003581, allocations: 171.1 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.336e-05/0.003664, allocations: 51.83 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.003709, allocations: 4 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.00379, allocations: 39.83 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.793e-05/0.003828, allocations: 15.98 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.003848, allocations: 4 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.004214, allocations: 271.4 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.004244, allocations: 15.94 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.004286, allocations: 23.97 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.004603, allocations: 191.3 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.004609, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.913e-06/0.004611, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.004617, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 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.0007087/0.005326, allocations: 325.8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/0.00539, allocations: 9.344 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.005435, allocations: 34.75 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.005475, allocations: 12.89 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.005598, allocations: 117.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.005632, allocations: 4.375 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.005658, allocations: 8.375 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.005911, allocations: 136.4 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.005925, allocations: 192 / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.005939, allocations: 384 / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.005948, allocations: 4.125 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.006088, allocations: 51.95 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.006576, allocations: 287.7 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.006751, allocations: 78.53 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.006814, allocations: 32.83 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.006839, allocations: 0 / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.006865, allocations: 30.56 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.006866, allocations: 0 / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001084/0.007949, allocations: 0.5152 MB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.007982, allocations: 55.41 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.715e-05/0.00804, allocations: 93.86 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.008055, allocations: 29.7 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.008102, allocations: 96.08 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.008137, allocations: 47.61 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.008177, allocations: 25.72 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.008276, allocations: 322.8 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.407e-05/0.00836, allocations: 31.92 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.008427, allocations: 35.97 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.008563, allocations: 68.83 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.008564, allocations: 0 / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001863/0.00875, allocations: 128.7 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.008765, allocations: 8 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.00877, allocations: 0 / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.008785, allocations: 0 / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.008877, allocations: 23.98 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.008882, allocations: 0 / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.008916, allocations: 11.98 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.008924, allocations: 4 kB / 1.005 GB, free: 7.797 MB / 0.9636 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 7.224e-05/0.008996, allocations: 121.8 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.009016, allocations: 11.98 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.009247, allocations: 129.6 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.009249, allocations: 0 / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.009255, allocations: 4 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009258, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.009635, allocations: 341.5 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.009638, allocations: 4 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.009721, allocations: 31.98 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.009724, allocations: 0 / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.009733, allocations: 3.984 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.009735, allocations: 0 / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.009738, allocations: 7.938 kB / 1.006 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.01003, allocations: 255.3 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.01004, allocations: 3.953 kB / 1.006 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.01006, allocations: 4.031 kB / 1.006 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.01012, allocations: 12.05 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.01014, allocations: 11.94 kB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01015, allocations: 3.984 kB / 1.006 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.01017, allocations: 79.28 kB / 1.006 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0 / 1.006 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000203/0.01038, allocations: 39.88 kB / 1.006 GB, free: 6.668 MB / 0.9636 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.0008452/0.01122, allocations: 0.8141 MB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.01142, allocations: 80.02 kB / 1.007 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01142, allocations: 0 / 1.007 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.01149, allocations: 43.91 kB / 1.007 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.01174, allocations: 15.88 kB / 1.007 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.01305, allocations: 1.556 MB / 1.008 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.0131, allocations: 75.33 kB / 1.008 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.482e-05/0.01314, allocations: 20.73 kB / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.01319, allocations: 24.5 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01319, allocations: 0 / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.02857, allocations: 2.998 MB / 1.011 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/6.528, allocations: 6.422 kB / 1.011 GB, free: 1.125 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.379645582288504] Failed to read output from testmodel.py, exit status != 0: 6.605350363999605 6.612132302 6.605928759 Calling exit ...