Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001518/0.001518, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001628/0.001628, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.436/1.436, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.768/2.768, allocations: 0.49 GB / 0.7923 GB, free: 1.355 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 59.91 kB / 1.15 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9504/0.9523, allocations: 176.1 MB / 1.321 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002607/0.9549, allocations: 1.501 MB / 1.323 GB, free: 6.355 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.956, allocations: 0.6331 MB / 1.324 GB, free: 5.852 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.9561, allocations: 1.344 kB / 1.324 GB, free: 5.852 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.9561, allocations: 3.938 kB / 1.324 GB, free: 5.848 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.9561, allocations: 5.312 kB / 1.324 GB, free: 5.844 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.9567, allocations: 163 kB / 1.324 GB, free: 5.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.303e-05/0.9567, allocations: 49.97 kB / 1.324 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.9568, allocations: 6.469 kB / 1.324 GB, free: 5.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.9568, allocations: 26.78 kB / 1.324 GB, free: 5.684 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.9569, allocations: 31.5 kB / 1.324 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.9569, allocations: 3.438 kB / 1.324 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.9574, allocations: 343.6 kB / 1.324 GB, free: 5.465 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.9574, allocations: 7.281 kB / 1.324 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.9575, allocations: 31.62 kB / 1.324 GB, free: 5.438 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.9577, allocations: 176.1 kB / 1.324 GB, free: 5.332 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.9577, allocations: 0 / 1.324 GB, free: 5.332 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9577, allocations: 0 / 1.324 GB, free: 5.332 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.9578, allocations: 0.9062 kB / 1.324 GB, free: 5.332 MB / 1.014 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.0006559/0.9584, allocations: 402.8 kB / 1.325 GB, free: 4.918 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.9585, allocations: 12.92 kB / 1.325 GB, free: 4.914 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.322e-05/0.9585, allocations: 2.719 kB / 1.325 GB, free: 4.914 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.9585, allocations: 43.88 kB / 1.325 GB, free: 4.863 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.9585, allocations: 12.64 kB / 1.325 GB, free: 4.855 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.9587, allocations: 178.8 kB / 1.325 GB, free: 4.645 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.9587, allocations: 6.875 kB / 1.325 GB, free: 4.641 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.9587, allocations: 9.703 kB / 1.325 GB, free: 4.637 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.959, allocations: 77.88 kB / 1.325 GB, free: 4.578 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.959, allocations: 1.031 kB / 1.325 GB, free: 4.578 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.959, allocations: 9 kB / 1.325 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.959, allocations: 1.125 kB / 1.325 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.9593, allocations: 51.7 kB / 1.325 GB, free: 4.547 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.9598, allocations: 321.1 kB / 1.325 GB, free: 4.223 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.9601, allocations: 74.06 kB / 1.326 GB, free: 4.176 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.9602, allocations: 39.39 kB / 1.326 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.9602, allocations: 0 / 1.326 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.9603, allocations: 33.16 kB / 1.326 GB, free: 4.109 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.9603, allocations: 3.938 kB / 1.326 GB, free: 4.105 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001649/0.9619, allocations: 0.6441 MB / 1.326 GB, free: 3.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.962, allocations: 56.59 kB / 1.326 GB, free: 3.469 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.831e-05/0.962, allocations: 99.55 kB / 1.326 GB, free: 3.367 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.9621, allocations: 29.7 kB / 1.326 GB, free: 3.332 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.9621, allocations: 94.3 kB / 1.326 GB, free: 3.238 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.9622, allocations: 44.23 kB / 1.327 GB, free: 3.199 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.9622, allocations: 27.5 kB / 1.327 GB, free: 3.176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9623, allocations: 320.3 kB / 1.327 GB, free: 2.855 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.9625, allocations: 29.23 kB / 1.327 GB, free: 2.844 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.9626, allocations: 32.5 kB / 1.327 GB, free: 2.832 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.9629, allocations: 77.77 kB / 1.327 GB, free: 2.793 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.9629, allocations: 4 kB / 1.327 GB, free: 2.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003234/0.9632, allocations: 119.1 kB / 1.327 GB, free: 2.719 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.9632, allocations: 8.094 kB / 1.327 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.9632, allocations: 0 / 1.327 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.9632, allocations: 1.219 kB / 1.327 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.9634, allocations: 25.33 kB / 1.327 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.9634, allocations: 3.938 kB / 1.327 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.9635, allocations: 10.77 kB / 1.327 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.9635, allocations: 12.16 kB / 1.327 GB, free: 2.695 MB / 1.014 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 9.41e-05/0.9636, allocations: 116.2 kB / 1.327 GB, free: 2.574 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.9636, allocations: 7.141 kB / 1.327 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.964, allocations: 122.8 kB / 1.327 GB, free: 2.484 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.964, allocations: 2.281 kB / 1.327 GB, free: 2.484 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.964, allocations: 3.938 kB / 1.327 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.964, allocations: 0 / 1.327 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.9646, allocations: 385.2 kB / 1.328 GB, free: 2.113 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9646, allocations: 1.344 kB / 1.328 GB, free: 2.113 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.9648, allocations: 23.02 kB / 1.328 GB, free: 2.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.9648, allocations: 5.156 kB / 1.328 GB, free: 2.105 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.9648, allocations: 9.062 kB / 1.328 GB, free: 2.098 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9648, allocations: 5.078 kB / 1.328 GB, free: 2.094 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9648, allocations: 5.047 kB / 1.328 GB, free: 2.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.9653, allocations: 255.4 kB / 1.328 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.9654, allocations: 87.19 kB / 1.328 GB, free: 1.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.9654, allocations: 1.219 kB / 1.328 GB, free: 1.793 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.9655, allocations: 7.703 kB / 1.328 GB, free: 1.789 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.9656, allocations: 12.45 kB / 1.328 GB, free: 1.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.9656, allocations: 2.5 kB / 1.328 GB, free: 1.781 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.9656, allocations: 87.55 kB / 1.328 GB, free: 1.699 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9656, allocations: 0 / 1.328 GB, free: 1.699 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002732/0.9659, allocations: 38 kB / 1.328 GB, free: 1.688 MB / 1.014 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.0009818/0.9669, allocations: 0.8247 MB / 1.329 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.9672, allocations: 75.89 kB / 1.329 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9672, allocations: 1.438 kB / 1.329 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.9674, allocations: 45.25 kB / 1.329 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.9676, allocations: 8.344 kB / 1.329 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.9698, allocations: 1.599 MB / 1.331 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.9702, allocations: 0.6944 MB / 1.331 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.21e-05/0.9702, allocations: 15.41 kB / 1.331 GB, free: 14.74 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.9703, allocations: 21.94 kB / 1.332 GB, free: 14.73 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.9703, allocations: 0 / 1.332 GB, free: 14.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.9896, allocations: 2.39 MB / 1.334 GB, free: 13.54 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/9.029, allocations: 14.38 kB / 1.334 GB, free: 13.53 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.953610031981952] Failed to read output from testmodel.py, exit status != 0: 9.149919988994952 9.164020008 8.203534453 Calling exit ...