Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.00116/0.00116, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009931/0.0009931, allocations: 217.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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.8823/0.8823, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.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.845/1.845, allocations: 0.5056 GB / 0.8107 GB, free: 1.312 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/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.PowerLaw_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009022/0.0009022, allocations: 67.91 kB / 1.178 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6535, allocations: 180.5 MB / 1.354 GB, free: 15.01 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001941/0.6555, allocations: 1.373 MB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008579/0.6563, allocations: 0.8674 MB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.6564, allocations: 3.938 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.6564, allocations: 0 / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.6564, allocations: 15.84 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.6569, allocations: 215 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.657, allocations: 43.84 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.657, allocations: 3.984 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.657, allocations: 23.92 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.6571, allocations: 19.86 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.6571, allocations: 0 / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.6574, allocations: 375.5 kB / 1.357 GB, free: 12.08 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.6575, allocations: 8 kB / 1.357 GB, free: 12.07 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.6575, allocations: 15.86 kB / 1.357 GB, free: 12.05 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.6577, allocations: 261.5 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6578, allocations: 11.98 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6578, allocations: 3.938 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.6578, allocations: 3.938 kB / 1.358 GB, free: 11.78 MB / 1.042 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.000367/0.6581, allocations: 337.4 kB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.6582, allocations: 8.031 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.6582, allocations: 42.73 kB / 1.358 GB, free: 11.36 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.6584, allocations: 16.92 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.6584, allocations: 118.4 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.6585, allocations: 384 / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.6585, allocations: 4.375 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.6586, allocations: 79.94 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.6586, allocations: 3.938 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.6586, allocations: 0 / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6586, allocations: 4 kB / 1.358 GB, free: 11.1 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.6587, allocations: 23.92 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.6588, allocations: 140.8 kB / 1.358 GB, free: 10.9 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.659, allocations: 58.55 kB / 1.358 GB, free: 10.83 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.6591, allocations: 28.94 kB / 1.358 GB, free: 10.8 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.6591, allocations: 0 / 1.358 GB, free: 10.8 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.6591, allocations: 38.55 kB / 1.358 GB, free: 10.75 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.6591, allocations: 3.938 kB / 1.358 GB, free: 10.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.001078/0.6602, allocations: 412.8 kB / 1.359 GB, free: 10.31 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.6602, allocations: 55.34 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.6603, allocations: 126.7 kB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6603, allocations: 29.7 kB / 1.359 GB, free: 10.07 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.6603, allocations: 84.12 kB / 1.359 GB, free: 9.988 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.6603, allocations: 31.73 kB / 1.359 GB, free: 9.957 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.6604, allocations: 29.7 kB / 1.359 GB, free: 9.922 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.6604, allocations: 322.8 kB / 1.359 GB, free: 9.598 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.6605, allocations: 39.97 kB / 1.359 GB, free: 9.559 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.6606, allocations: 50.16 kB / 1.36 GB, free: 9.512 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.6607, allocations: 104.7 kB / 1.36 GB, free: 9.406 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6607, allocations: 0 / 1.36 GB, free: 9.406 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001901/0.6609, allocations: 155.3 kB / 1.36 GB, free: 9.25 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.6609, allocations: 4 kB / 1.36 GB, free: 9.246 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.661, allocations: 0 / 1.36 GB, free: 9.246 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.661, allocations: 4 kB / 1.36 GB, free: 9.242 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.661, allocations: 19.98 kB / 1.36 GB, free: 9.223 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.661, allocations: 0 / 1.36 GB, free: 9.223 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.6611, allocations: 7.984 kB / 1.36 GB, free: 9.215 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.6611, allocations: 4 kB / 1.36 GB, free: 9.211 MB / 1.042 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.516e-05/0.6611, allocations: 111.4 kB / 1.36 GB, free: 9.094 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.6612, allocations: 11.89 kB / 1.36 GB, free: 9.082 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.6612, allocations: 12.36 kB / 1.36 GB, free: 9.066 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6612, allocations: 0 / 1.36 GB, free: 9.066 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.6612, allocations: 0 / 1.36 GB, free: 9.066 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6612, allocations: 0 / 1.36 GB, free: 9.066 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.6616, allocations: 338.4 kB / 1.36 GB, free: 8.684 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6616, allocations: 0 / 1.36 GB, free: 8.684 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.6617, allocations: 23.97 kB / 1.36 GB, free: 8.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6617, allocations: 0 / 1.36 GB, free: 8.66 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6617, allocations: 4 kB / 1.36 GB, free: 8.656 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6617, allocations: 0 / 1.36 GB, free: 8.656 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6617, allocations: 7.938 kB / 1.36 GB, free: 8.648 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.662, allocations: 240.3 kB / 1.361 GB, free: 8.395 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.662, allocations: 7.938 kB / 1.361 GB, free: 8.387 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.662, allocations: 4 kB / 1.361 GB, free: 8.383 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.6621, allocations: 8.109 kB / 1.361 GB, free: 8.375 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.6621, allocations: 3.984 kB / 1.361 GB, free: 8.371 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6621, allocations: 12 kB / 1.361 GB, free: 8.359 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.6621, allocations: 97.39 kB / 1.361 GB, free: 8.266 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.6621, allocations: 4 kB / 1.361 GB, free: 8.262 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001764/0.6623, allocations: 23.94 kB / 1.361 GB, free: 8.238 MB / 1.042 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.00049/0.6628, allocations: 0.7952 MB / 1.361 GB, free: 7.414 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.6633, allocations: 117.7 kB / 1.362 GB, free: 7.293 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6633, allocations: 0 / 1.362 GB, free: 7.293 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.6634, allocations: 39.91 kB / 1.362 GB, free: 7.254 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.6636, allocations: 8.125 kB / 1.362 GB, free: 7.246 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.665, allocations: 1.618 MB / 1.363 GB, free: 5.547 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.665, allocations: 71.2 kB / 1.363 GB, free: 5.457 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.6651, allocations: 11.98 kB / 1.363 GB, free: 5.445 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.6651, allocations: 23.42 kB / 1.363 GB, free: 5.422 MB / 1.042 GB Notification: Performance of SimCode: time 7.32e-07/0.6651, allocations: 0 / 1.363 GB, free: 5.422 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.6848, allocations: 3.443 MB / 1.367 GB, free: 2.156 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.317/7.002, allocations: 10.06 kB / 1.367 GB, free: 2.152 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.147235753014684] Failed to read output from testmodel.py, exit status != 0: 7.078402254730463 7.087591052 6.428008795 Calling exit ...