Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001484/0.001484, allocations: 104.1 kB / 16.45 MB, free: 6.508 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.001423/0.001423, allocations: 195.7 kB / 19.41 MB, free: 3.676 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.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.721/2.721, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.002033/0.002033, allocations: 67.89 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7622, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002886/0.7651, allocations: 1.491 MB / 1.27 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.7663, allocations: 0.6282 MB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.7663, allocations: 0 / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.7664, allocations: 7.922 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.7664, allocations: 15.86 kB / 1.271 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.767, allocations: 169.4 kB / 1.271 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.7671, allocations: 47.84 kB / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.7672, allocations: 4 kB / 1.271 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.636e-05/0.7673, allocations: 19.92 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.7673, allocations: 27.91 kB / 1.271 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.7673, allocations: 7.938 kB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.7678, allocations: 347.3 kB / 1.271 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.7679, allocations: 11.97 kB / 1.271 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.7679, allocations: 27.86 kB / 1.271 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.7682, allocations: 177.2 kB / 1.272 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7682, allocations: 4 kB / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7682, allocations: 0 / 1.272 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.7682, allocations: 0 / 1.272 GB, free: 2.215 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.0006368/0.7689, allocations: 406.9 kB / 1.272 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.7689, allocations: 15.97 kB / 1.272 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.769, allocations: 34.75 kB / 1.272 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.769, allocations: 4.938 kB / 1.272 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.7691, allocations: 176.3 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.7692, allocations: 4.375 kB / 1.272 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.7692, allocations: 12.38 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.7694, allocations: 78.22 kB / 1.272 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.7695, allocations: 3.938 kB / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.7695, allocations: 0 / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.7695, allocations: 0 / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.7697, allocations: 55.95 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.7703, allocations: 328.6 kB / 1.273 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.7706, allocations: 74.53 kB / 1.273 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.7707, allocations: 28.78 kB / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.7707, allocations: 0 / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.7708, allocations: 46.48 kB / 1.273 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.7708, allocations: 4 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001689/0.7724, allocations: 0.6424 MB / 1.273 GB, free: 60 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.7725, allocations: 55.39 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.7726, allocations: 105.8 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.7726, allocations: 29.64 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.7727, allocations: 96.08 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.7727, allocations: 35.66 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.7728, allocations: 29.7 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7729, allocations: 322.8 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.773, allocations: 27.98 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.7731, allocations: 35.97 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.7734, allocations: 71.7 kB / 1.274 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7734, allocations: 0 / 1.274 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003408/0.7737, allocations: 133.7 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.7737, allocations: 4 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7737, allocations: 0 / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7738, allocations: 0 / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.7739, allocations: 23.98 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.7739, allocations: 7.938 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.774, allocations: 7.984 kB / 1.274 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.774, allocations: 0 / 1.274 GB, free: 15.04 MB / 0.9825 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.000101/0.7741, allocations: 121.8 kB / 1.275 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.7741, allocations: 8 kB / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.7745, allocations: 125.6 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.7745, allocations: 7.938 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7745, allocations: 3.938 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7745, allocations: 0 / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/0.7751, allocations: 378.4 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7751, allocations: 8 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.7753, allocations: 27.97 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.7753, allocations: 3.938 kB / 1.275 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.7753, allocations: 4 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7753, allocations: 0 / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7753, allocations: 3.938 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.7758, allocations: 251.4 kB / 1.275 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.7759, allocations: 77.11 kB / 1.275 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.7759, allocations: 7.938 kB / 1.275 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.776, allocations: 8.016 kB / 1.275 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.776, allocations: 4 kB / 1.275 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.776, allocations: 11.98 kB / 1.275 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.7761, allocations: 79.28 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7761, allocations: 0 / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002915/0.7764, allocations: 43.81 kB / 1.276 GB, free: 13.77 MB / 0.9825 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.0009432/0.7773, allocations: 0.8146 MB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.7777, allocations: 79.95 kB / 1.276 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7777, allocations: 8 kB / 1.276 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.7778, allocations: 44.45 kB / 1.276 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.7781, allocations: 10.62 kB / 1.276 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.7804, allocations: 1.613 MB / 1.278 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.7807, allocations: 0.6889 MB / 1.279 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.698e-05/0.7808, allocations: 20.59 kB / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.7808, allocations: 23.44 kB / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.7808, allocations: 0 / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.8083, allocations: 2.353 MB / 1.281 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/9.382, allocations: 6.703 kB / 1.281 GB, free: 8.176 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.19538995390758] Failed to read output from testmodel.py, exit status != 0: 9.452186629641801 9.47242 8.700111533 Calling exit ...