Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0007243/0.0007243, 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.0007437/0.0007437, 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.893/0.893, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.733/1.733, allocations: 390.1 MB / 0.6341 GB, free: 11.57 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_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.154e-05, allocations: 6.281 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002305/0.002326, allocations: 1.379 MB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003492, allocations: 0.8684 MB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.003534, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.003558, allocations: 3.938 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.003612, allocations: 11.86 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.004265, allocations: 230.8 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.004365, allocations: 51.77 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.004407, allocations: 3.984 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.004471, allocations: 31.97 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.004537, allocations: 23.84 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.004555, allocations: 8 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.005138, allocations: 375.5 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.005162, allocations: 7.969 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.005201, allocations: 19.94 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.005582, allocations: 307.1 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.005586, allocations: 3.938 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.334e-06/0.005589, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.005595, allocations: 0 / 1.005 GB, free: 8.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003947/0.005989, allocations: 353.3 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.006045, allocations: 8.031 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.006083, allocations: 50.69 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.00627, allocations: 24.86 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.006352, allocations: 105.8 kB / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.006371, allocations: 384 / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.006395, allocations: 8.375 kB / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.006537, allocations: 117.6 kB / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.006546, allocations: 192 / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.006555, allocations: 384 / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.006561, allocations: 8.125 kB / 1.005 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.006638, allocations: 31.97 kB / 1.005 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.00677, allocations: 164.5 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.006917, allocations: 70.55 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.006969, allocations: 40.83 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.006983, allocations: 0 / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.007002, allocations: 30.56 kB / 1.006 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.007003, allocations: 0 / 1.006 GB, free: 6.961 MB / 0.9636 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.00268/0.009683, allocations: 0.9756 MB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.00971, allocations: 51.41 kB / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.009781, allocations: 129.7 kB / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.0098, allocations: 33.64 kB / 1.007 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.009828, allocations: 84.42 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.009864, allocations: 43.62 kB / 1.007 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.009922, allocations: 45.69 kB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.009988, allocations: 318.8 kB / 1.007 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.01013, allocations: 95.94 kB / 1.007 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.01026, allocations: 87.95 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01053, allocations: 195.1 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01053, allocations: 0 / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003329/0.01086, allocations: 245.5 kB / 1.008 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.01087, allocations: 8 kB / 1.008 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.01088, allocations: 3.938 kB / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.01089, allocations: 4 kB / 1.008 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.01103, allocations: 35.98 kB / 1.008 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.01104, allocations: 7.938 kB / 1.008 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.01111, allocations: 8 kB / 1.008 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.01112, allocations: 7.984 kB / 1.008 GB, free: 4.496 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 (14): * Single equations (assignments): 13 * 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 6.956e-05/0.01119, allocations: 118.3 kB / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.01121, allocations: 3.953 kB / 1.008 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.01125, allocations: 28.36 kB / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01125, allocations: 0 / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01125, allocations: 0 / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01125, allocations: 0 / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005056/0.01176, allocations: 421.4 kB / 1.009 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01176, allocations: 3.984 kB / 1.009 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.01189, allocations: 35.97 kB / 1.009 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01189, allocations: 0 / 1.009 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01191, allocations: 11.98 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01191, allocations: 0 / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01191, allocations: 0 / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.01237, allocations: 375.7 kB / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.01238, allocations: 11.97 kB / 1.009 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.0124, allocations: 0 / 1.009 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/0.01249, allocations: 8 kB / 1.009 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.01252, allocations: 16.03 kB / 1.009 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01253, allocations: 4 kB / 1.009 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.01256, allocations: 91.27 kB / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01256, allocations: 0 / 1.009 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001838/0.01274, allocations: 40 kB / 1.009 GB, free: 3.281 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.000699/0.01344, allocations: 0.9152 MB / 1.01 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.01377, allocations: 213.6 kB / 1.01 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01377, allocations: 0 / 1.01 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.01389, allocations: 71.95 kB / 1.01 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01414, allocations: 14.42 kB / 1.01 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.0161, allocations: 2.019 MB / 1.012 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.01614, allocations: 75.33 kB / 1.012 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.388e-05/0.01622, allocations: 20.72 kB / 1.012 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.01629, allocations: 24.48 kB / 1.012 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.0163, allocations: 8 kB / 1.012 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.03159, allocations: 4.288 MB / 1.017 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.365/6.397, allocations: 4 kB / 1.017 GB, free: 11.67 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.325669094920158] Failed to read output from testmodel.py, exit status != 0: 6.476375566795468 6.48409753 6.476893908 Calling exit ...