Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0008121/0.0008121, allocations: 81.69 kB / 19.27 MB, free: 0.5859 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.0009209/0.0009209, allocations: 166.3 kB / 22.58 MB, free: 1.922 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.8866/0.8866, allocations: 177.1 MB / 202.9 MB, free: 5.645 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.749/1.749, allocations: 390.1 MB / 0.6342 GB, free: 11.55 MB / 0.6042 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_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.894e-05, allocations: 2.312 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001541/0.00156, allocations: 1.374 MB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008363/0.002396, allocations: 0.8684 MB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.002429, allocations: 0 / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.002444, allocations: 0 / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.002488, allocations: 11.86 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.002955, allocations: 222.8 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.003024, allocations: 47.78 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.003065, allocations: 7.984 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.003124, allocations: 23.92 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.003172, allocations: 19.91 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.003185, allocations: 4 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/0.003542, allocations: 371.4 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.003559, allocations: 8 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.003581, allocations: 23.92 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.003866, allocations: 291.2 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003868, allocations: 0 / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.051e-06/0.003869, allocations: 0 / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003873, allocations: 0 / 1.005 GB, free: 8.047 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.0003402/0.004213, allocations: 353.3 kB / 1.005 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.004248, allocations: 8.031 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.004273, allocations: 30.75 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.004422, allocations: 24.86 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.004495, allocations: 113.7 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.004516, allocations: 8.375 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.004532, allocations: 384 / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.004648, allocations: 79.92 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.004654, allocations: 192 / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.004662, allocations: 384 / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.004669, allocations: 8.062 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.004739, allocations: 27.92 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.00487, allocations: 140.7 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.005071, allocations: 66.55 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.005116, allocations: 24.94 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.005128, allocations: 0 / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.005146, allocations: 34.56 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005147, allocations: 3.938 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001084/0.006232, allocations: 417.1 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.006258, allocations: 51.41 kB / 1.006 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.006326, allocations: 125.8 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.00634, allocations: 25.7 kB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.00637, allocations: 96.08 kB / 1.006 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.006391, allocations: 23.78 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.006432, allocations: 29.7 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.006632, allocations: 318.8 kB / 1.007 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.006715, allocations: 47.97 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.526e-05/0.00679, allocations: 43.97 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.006944, allocations: 104.7 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.006945, allocations: 4 kB / 1.007 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001994/0.007144, allocations: 145 kB / 1.007 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.007157, allocations: 4 kB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.007169, allocations: 8.062 kB / 1.007 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.007182, allocations: 7.938 kB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.00725, allocations: 15.98 kB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.007255, allocations: 0 / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.007298, allocations: 11.98 kB / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.007307, allocations: 4 kB / 1.007 GB, free: 5.461 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 (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.566e-05/0.007363, allocations: 109.8 kB / 1.007 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.007373, allocations: 7.953 kB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.007401, allocations: 8.438 kB / 1.007 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007404, allocations: 3.938 kB / 1.007 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.007408, allocations: 8 kB / 1.007 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007411, allocations: 3.984 kB / 1.007 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.007825, allocations: 334.4 kB / 1.008 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.007827, allocations: 3.938 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.007892, allocations: 15.98 kB / 1.008 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.007896, allocations: 7.922 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.007906, allocations: 4 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007907, allocations: 0 / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.007908, allocations: 4.031 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.008175, allocations: 232.3 kB / 1.008 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.0082, allocations: 15.91 kB / 1.008 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.008213, allocations: 3.938 kB / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.008277, allocations: 7.984 kB / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.008294, allocations: 7.984 kB / 1.008 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.008302, allocations: 8 kB / 1.008 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.111e-05/0.008333, allocations: 91.27 kB / 1.008 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.008333, allocations: 4.062 kB / 1.008 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001737/0.008507, allocations: 24 kB / 1.008 GB, free: 4.496 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0005034/0.00901, allocations: 0.7875 MB / 1.009 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.009222, allocations: 117.6 kB / 1.009 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009223, allocations: 0 / 1.009 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.009287, allocations: 43.97 kB / 1.009 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.009522, allocations: 8 kB / 1.009 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.01086, allocations: 1.614 MB / 1.011 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.258e-05/0.0109, allocations: 71.33 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.087e-05/0.01094, allocations: 8 kB / 1.011 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.01099, allocations: 24.48 kB / 1.011 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.011, allocations: 0 / 1.011 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.02732, allocations: 3.589 MB / 1.014 GB, free: 14.29 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.389/6.416, allocations: 9.969 kB / 1.014 GB, free: 14.28 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.386054632253945] Failed to read output from testmodel.py, exit status != 0: 6.494353909045458 6.503257331 6.497741922 Calling exit ...