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.0007619/0.0007619, allocations: 105.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.000822/0.000822, allocations: 215.6 kB / 22.25 MB, free: 3.582 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.8837/0.8837, allocations: 230.6 MB / 256 MB, free: 9.609 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.887/1.887, allocations: 0.5056 GB / 0.8107 GB, free: 1.277 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_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 0.0009184/0.0009184, allocations: 63.91 kB / 1.178 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.6867, allocations: 180.5 MB / 1.354 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.001727/0.6884, allocations: 1.379 MB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.6893, allocations: 0.8674 MB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.568e-05/0.6893, allocations: 0 / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.6893, allocations: 3.938 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.6894, allocations: 11.92 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.6899, allocations: 219 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.69, allocations: 51.78 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.69, allocations: 7.984 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.6901, allocations: 23.92 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.6901, allocations: 23.86 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.6901, allocations: 4 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.6905, allocations: 387.4 kB / 1.357 GB, free: 11.98 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.6905, allocations: 4 kB / 1.357 GB, free: 11.98 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.6905, allocations: 23.86 kB / 1.357 GB, free: 11.95 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.6908, allocations: 269.5 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6908, allocations: 0 / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6908, allocations: 0 / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6908, allocations: 0 / 1.358 GB, free: 11.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003643/0.6912, allocations: 353.3 kB / 1.358 GB, free: 11.31 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6912, allocations: 12.03 kB / 1.358 GB, free: 11.3 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.6912, allocations: 38.73 kB / 1.358 GB, free: 11.25 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.6914, allocations: 24.88 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.481e-05/0.6915, allocations: 114.5 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6915, allocations: 4.375 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.6915, allocations: 12.31 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.6917, allocations: 109.6 kB / 1.358 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6917, allocations: 3.938 kB / 1.358 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.6917, allocations: 0 / 1.358 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6917, allocations: 0 / 1.358 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.6918, allocations: 35.97 kB / 1.358 GB, free: 10.91 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.6919, allocations: 152.6 kB / 1.358 GB, free: 10.72 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.6921, allocations: 86.47 kB / 1.358 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.6921, allocations: 36.78 kB / 1.358 GB, free: 10.59 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.6921, allocations: 0 / 1.358 GB, free: 10.59 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.6922, allocations: 34.56 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 6.41e-07/0.6922, allocations: 0 / 1.359 GB, free: 10.55 MB / 1.042 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.002755/0.6949, allocations: 0.9815 MB / 1.359 GB, free: 9.512 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.6949, allocations: 55.41 kB / 1.36 GB, free: 9.445 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.695, allocations: 121.8 kB / 1.36 GB, free: 9.316 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.695, allocations: 29.7 kB / 1.36 GB, free: 9.281 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.6951, allocations: 84.41 kB / 1.36 GB, free: 9.191 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.6951, allocations: 47.62 kB / 1.36 GB, free: 9.145 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.6951, allocations: 41.69 kB / 1.36 GB, free: 9.098 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/0.6952, allocations: 318.8 kB / 1.36 GB, free: 8.777 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.6954, allocations: 91.94 kB / 1.36 GB, free: 8.688 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.6955, allocations: 99.88 kB / 1.36 GB, free: 8.59 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.6958, allocations: 191.5 kB / 1.361 GB, free: 8.402 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.6958, allocations: 0 / 1.361 GB, free: 8.402 MB / 1.042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003353/0.6961, allocations: 249.5 kB / 1.361 GB, free: 8.152 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.6961, allocations: 7.984 kB / 1.361 GB, free: 8.145 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.6961, allocations: 4 kB / 1.361 GB, free: 8.141 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6961, allocations: 4 kB / 1.361 GB, free: 8.137 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.6963, allocations: 39.91 kB / 1.361 GB, free: 8.098 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6963, allocations: 320 / 1.361 GB, free: 8.098 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.6964, allocations: 7.984 kB / 1.361 GB, free: 8.09 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.6964, allocations: 7.984 kB / 1.361 GB, free: 8.082 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 (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.501e-05/0.6965, allocations: 115.6 kB / 1.361 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.6965, allocations: 11.89 kB / 1.361 GB, free: 7.949 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.6965, allocations: 12.38 kB / 1.361 GB, free: 7.934 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6965, allocations: 4 kB / 1.361 GB, free: 7.93 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6965, allocations: 4 kB / 1.361 GB, free: 7.926 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6965, allocations: 0 / 1.361 GB, free: 7.926 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.6971, allocations: 425.4 kB / 1.361 GB, free: 7.461 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6971, allocations: 4 kB / 1.361 GB, free: 7.457 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.6972, allocations: 27.97 kB / 1.361 GB, free: 7.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6972, allocations: 0 / 1.361 GB, free: 7.43 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.6972, allocations: 11.98 kB / 1.361 GB, free: 7.418 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6972, allocations: 3.984 kB / 1.361 GB, free: 7.414 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6972, allocations: 4 kB / 1.361 GB, free: 7.41 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.6977, allocations: 371.3 kB / 1.362 GB, free: 7.031 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.6977, allocations: 11.92 kB / 1.362 GB, free: 7.02 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.6977, allocations: 0 / 1.362 GB, free: 7.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.6978, allocations: 11.98 kB / 1.362 GB, free: 7.008 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.6978, allocations: 11.98 kB / 1.362 GB, free: 6.996 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.6979, allocations: 3.984 kB / 1.362 GB, free: 6.992 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.6979, allocations: 100.1 kB / 1.362 GB, free: 6.895 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6979, allocations: 0 / 1.362 GB, free: 6.895 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001968/0.6981, allocations: 36 kB / 1.362 GB, free: 6.859 MB / 1.042 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.0007632/0.6988, allocations: 0.9155 MB / 1.363 GB, free: 5.918 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.6992, allocations: 213.7 kB / 1.363 GB, free: 5.703 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6992, allocations: 0 / 1.363 GB, free: 5.703 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.6994, allocations: 75.88 kB / 1.363 GB, free: 5.629 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.6996, allocations: 10.44 kB / 1.363 GB, free: 5.621 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.7018, allocations: 2.062 MB / 1.365 GB, free: 3.473 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.104e-05/0.7018, allocations: 83.02 kB / 1.365 GB, free: 3.371 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.934e-05/0.7019, allocations: 16.67 kB / 1.365 GB, free: 3.355 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.702, allocations: 39.41 kB / 1.365 GB, free: 3.316 MB / 1.042 GB Notification: Performance of SimCode: time 1.022e-06/0.702, allocations: 0 / 1.365 GB, free: 3.316 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.7187, allocations: 4.158 MB / 1.369 GB, free: 15.32 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.235/6.954, allocations: 6.812 kB / 1.369 GB, free: 15.31 MB / 1.057 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: 11.148718493059278] Failed to read output from testmodel.py, exit status != 0: 7.033883227966726 7.043781109 6.351349518 Calling exit ...