Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.0008089/0.0008089, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008232/0.0008232, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8146/0.8146, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.668/1.668, allocations: 389 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_DerivativeCheck,fileNamePrefix="Buildings_latest_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_latest_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 1.011e-06/1.011e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.336e-06/9.347e-06, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001365/0.001374, allocations: 1.297 MB / 1.001 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.001978, allocations: 0.5378 MB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.001998, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.002015, allocations: 7.922 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.819e-05/0.002043, allocations: 3.938 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.002408, allocations: 149.5 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.002458, allocations: 19.88 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.00249, allocations: 7.984 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.002533, allocations: 19.92 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.002569, allocations: 3.984 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.002582, allocations: 4 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.002836, allocations: 263.4 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.00285, allocations: 3.984 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.002865, allocations: 7.938 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.003033, allocations: 163.5 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003035, allocations: 4 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003036, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.003039, allocations: 0 / 1.002 GB, free: 10.99 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002742/0.003313, allocations: 293.9 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.003347, allocations: 9.344 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.239e-05/0.00337, allocations: 30.75 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.003614, allocations: 4.938 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.51e-05/0.00368, allocations: 105.7 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.003691, allocations: 12.38 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.003706, allocations: 384 / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/0.003792, allocations: 67.95 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.003799, allocations: 4.125 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.003806, allocations: 384 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003811, allocations: 8.125 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.003842, allocations: 11.98 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.003947, allocations: 124.8 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.004085, allocations: 38.61 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.00411, allocations: 20.94 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.004125, allocations: 0 / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.004142, allocations: 38.5 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.004142, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004012/0.004543, allocations: 237.1 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.004566, allocations: 51.41 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.188e-05/0.004608, allocations: 101.8 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.004618, allocations: 33.7 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/0.004639, allocations: 80.14 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.004658, allocations: 19.8 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.004684, allocations: 25.7 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.149e-05/0.004746, allocations: 310.8 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.004763, allocations: 12 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.004778, allocations: 15.98 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.004817, allocations: 32.78 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.004817, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.916e-05/0.004876, allocations: 73.62 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.004887, allocations: 11.94 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00489, allocations: 0 / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.004901, allocations: 3.938 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.207e-05/0.004933, allocations: 8 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.004938, allocations: 3.984 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.004948, allocations: 4 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.004952, allocations: 0 / 1.004 GB, free: 9.004 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 (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.406e-05/0.004996, allocations: 113.8 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.005002, allocations: 3.953 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.593e-05/0.005088, allocations: 73.75 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.00509, allocations: 7.938 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005094, allocations: 3.984 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005097, allocations: 0 / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.005303, allocations: 274.7 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.005305, allocations: 7.938 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.00534, allocations: 15.98 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005341, allocations: 0 / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.005347, allocations: 4 kB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.005348, allocations: 4.234 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005349, allocations: 0 / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.00546, allocations: 176.4 kB / 1.004 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.005474, allocations: 15.91 kB / 1.004 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.005483, allocations: 4 kB / 1.004 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.783e-05/0.005531, allocations: 4 kB / 1.004 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.005544, allocations: 3.984 kB / 1.004 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.005548, allocations: 4 kB / 1.004 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.028e-05/0.005568, allocations: 79.28 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005568, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001525/0.005721, allocations: 19.94 kB / 1.005 GB, free: 8.113 MB / 0.9636 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.0002994/0.00602, allocations: 0.7405 MB / 1.005 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.948e-05/0.00609, allocations: 35.98 kB / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006091, allocations: 0 / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.626e-05/0.006108, allocations: 19.94 kB / 1.005 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.006256, allocations: 8.734 kB / 1.005 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007323/0.006989, allocations: 1.314 MB / 1.007 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.007025, allocations: 63.34 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.104e-05/0.007047, allocations: 7.984 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.007071, allocations: 12.5 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of SimCode: time 2.9e-07/0.007071, allocations: 0 / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.02225, allocations: 2.257 MB / 1.009 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.681, allocations: 19.92 kB / 1.009 GB, free: 3.707 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.393249846063554] Failed to read output from testmodel.py, exit status != 0: 6.758781238459051 6.76732989 6.762775517 Calling exit ...