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.0007983/0.0007983, allocations: 81.69 kB / 19.27 MB, free: 0.5898 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.0008169/0.0008169, allocations: 166 kB / 22.58 MB, free: 1.93 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.8815/0.8815, allocations: 177.1 MB / 202.9 MB, free: 5.711 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.742/1.742, allocations: 390.1 MB / 0.6342 GB, free: 11.54 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.683e-06/1.683e-06, allocations: 0 / 1.002 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.034e-05, allocations: 2.312 kB / 1.002 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.001744/0.001765, allocations: 1.372 MB / 1.003 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0009692/0.002734, allocations: 0.8645 MB / 1.004 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.002789, allocations: 0 / 1.004 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.00281, allocations: 3.938 kB / 1.004 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.002862, allocations: 11.86 kB / 1.004 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.003467, allocations: 230.8 kB / 1.004 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.003543, allocations: 51.78 kB / 1.004 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.003586, allocations: 7.984 kB / 1.004 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.003633, allocations: 31.91 kB / 1.004 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.003685, allocations: 15.97 kB / 1.004 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.003699, allocations: 8 kB / 1.004 GB, free: 7.59 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.004072, allocations: 375.4 kB / 1.005 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.004091, allocations: 11.98 kB / 1.005 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.004116, allocations: 19.92 kB / 1.005 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.00444, allocations: 307.1 kB / 1.005 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.004444, allocations: 3.984 kB / 1.005 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004445, allocations: 0 / 1.005 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.00445, allocations: 0 / 1.005 GB, free: 6.887 MB / 0.9167 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.0003743/0.004824, allocations: 353.3 kB / 1.005 GB, free: 6.508 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.004862, allocations: 12.03 kB / 1.005 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.004891, allocations: 34.73 kB / 1.005 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.005052, allocations: 32.86 kB / 1.005 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.005129, allocations: 109.7 kB / 1.005 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.005148, allocations: 4.375 kB / 1.005 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.005169, allocations: 8.375 kB / 1.006 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.005315, allocations: 109.6 kB / 1.006 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.005325, allocations: 192 / 1.006 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.005336, allocations: 8.375 kB / 1.006 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005341, allocations: 4.125 kB / 1.006 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.005422, allocations: 35.91 kB / 1.006 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.005558, allocations: 156.6 kB / 1.006 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.005706, allocations: 74.53 kB / 1.006 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.00576, allocations: 36.84 kB / 1.006 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.005774, allocations: 0 / 1.006 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.005794, allocations: 34.56 kB / 1.006 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005795, allocations: 0 / 1.006 GB, free: 5.746 MB / 0.9167 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.002817/0.008612, allocations: 0.9709 MB / 1.007 GB, free: 4.719 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.008642, allocations: 55.41 kB / 1.007 GB, free: 4.652 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.008727, allocations: 133.7 kB / 1.007 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.008747, allocations: 25.7 kB / 1.007 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.008779, allocations: 84.42 kB / 1.007 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.008816, allocations: 39.64 kB / 1.007 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.008885, allocations: 41.69 kB / 1.007 GB, free: 4.305 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.008973, allocations: 322.8 kB / 1.008 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.009124, allocations: 91.95 kB / 1.008 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.009265, allocations: 93.81 kB / 1.008 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.009543, allocations: 195.1 kB / 1.008 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.009544, allocations: 4 kB / 1.008 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003456/0.00989, allocations: 241.5 kB / 1.008 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.009905, allocations: 9.875 kB / 1.008 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.009921, allocations: 7.938 kB / 1.008 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.009934, allocations: 0 / 1.008 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.01008, allocations: 35.91 kB / 1.008 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01009, allocations: 0 / 1.008 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.01016, allocations: 7.984 kB / 1.008 GB, free: 3.301 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.01018, allocations: 11.98 kB / 1.008 GB, free: 3.289 MB / 0.9167 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 7.46e-05/0.01025, allocations: 113.8 kB / 1.008 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.01027, allocations: 7.953 kB / 1.008 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.01031, allocations: 16.38 kB / 1.008 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01031, allocations: 0 / 1.008 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01032, allocations: 0 / 1.008 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01032, allocations: 4 kB / 1.008 GB, free: 3.141 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.01089, allocations: 437.3 kB / 1.009 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01089, allocations: 0 / 1.009 GB, free: 2.664 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.01103, allocations: 35.95 kB / 1.009 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01103, allocations: 0 / 1.009 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01105, allocations: 4 kB / 1.009 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01105, allocations: 4 kB / 1.009 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01105, allocations: 3.938 kB / 1.009 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.01154, allocations: 371.2 kB / 1.009 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.01155, allocations: 7.984 kB / 1.009 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.01157, allocations: 0 / 1.009 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.01168, allocations: 15.98 kB / 1.009 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.0117, allocations: 3.984 kB / 1.009 GB, free: 2.211 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01171, allocations: 12.05 kB / 1.009 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.01175, allocations: 96.03 kB / 1.009 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01175, allocations: 0 / 1.009 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002033/0.01196, allocations: 36 kB / 1.009 GB, free: 2.07 MB / 0.9167 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.0007686/0.01273, allocations: 0.9194 MB / 1.01 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.01308, allocations: 216.9 kB / 1.01 GB, free: 0.9102 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01308, allocations: 0 / 1.01 GB, free: 0.9102 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.01321, allocations: 75.94 kB / 1.011 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.01346, allocations: 8 kB / 1.011 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.01559, allocations: 2.03 MB / 1.013 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.069e-05/0.01565, allocations: 83.33 kB / 1.013 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.895e-05/0.01574, allocations: 12.73 kB / 1.013 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.01583, allocations: 36.47 kB / 1.013 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of SimCode: time 1.333e-06/0.01583, allocations: 4 kB / 1.013 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.03263, allocations: 4.31 MB / 1.017 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.433/6.466, allocations: 11.92 kB / 1.017 GB, free: 10.44 MB / 0.9323 GB " [Timeout remaining time 293] (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.765329297631979] Failed to read output from testmodel.py, exit status != 0: 6.545204097405076 6.996158501 6.989063693 Calling exit ...