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.0008534/0.0008534, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000975/0.000975, allocations: 217.9 kB / 22.25 MB, free: 3.574 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.9218/0.9218, allocations: 230.6 MB / 256 MB, free: 9.605 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.866/1.866, allocations: 0.5056 GB / 0.8107 GB, free: 1.328 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_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 0.0009015/0.0009015, allocations: 71.91 kB / 1.178 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6725/0.6734, allocations: 180.5 MB / 1.354 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002227/0.6756, allocations: 1.369 MB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009305/0.6765, allocations: 0.8596 MB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.6765, allocations: 0 / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.6766, allocations: 3.938 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.6766, allocations: 19.84 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.6771, allocations: 211 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.6772, allocations: 51.7 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.6772, allocations: 8 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.6772, allocations: 15.92 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.6773, allocations: 19.92 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.6773, allocations: 4 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.6777, allocations: 367.5 kB / 1.357 GB, free: 12.05 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.6777, allocations: 11.94 kB / 1.357 GB, free: 12.04 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.6777, allocations: 19.92 kB / 1.357 GB, free: 12.02 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.678, allocations: 265.5 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.678, allocations: 4 kB / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.678, allocations: 0 / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.678, allocations: 0 / 1.358 GB, free: 11.76 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.0003789/0.6784, allocations: 341.4 kB / 1.358 GB, free: 11.39 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6784, allocations: 15.97 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.965e-05/0.6784, allocations: 34.73 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.6786, allocations: 16.92 kB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.6787, allocations: 125 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.6787, allocations: 4.375 kB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.6787, allocations: 4.375 kB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.6788, allocations: 75.94 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.6788, allocations: 7.938 kB / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.6789, allocations: 0 / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6789, allocations: 0 / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.521e-05/0.6789, allocations: 27.95 kB / 1.358 GB, free: 11.05 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.6791, allocations: 136.8 kB / 1.358 GB, free: 10.87 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.6793, allocations: 70.47 kB / 1.358 GB, free: 10.79 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.6793, allocations: 24.94 kB / 1.358 GB, free: 10.77 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.6793, allocations: 4 kB / 1.358 GB, free: 10.76 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.6794, allocations: 30.56 kB / 1.358 GB, free: 10.72 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6794, allocations: 0 / 1.358 GB, free: 10.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.001107/0.6805, allocations: 412.8 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.6805, allocations: 55.41 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.6806, allocations: 122.1 kB / 1.359 GB, free: 10.09 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.6806, allocations: 25.7 kB / 1.359 GB, free: 10.05 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.6806, allocations: 96.05 kB / 1.359 GB, free: 9.957 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.6806, allocations: 23.8 kB / 1.359 GB, free: 9.934 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.6807, allocations: 29.7 kB / 1.359 GB, free: 9.898 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.6807, allocations: 318.8 kB / 1.359 GB, free: 9.578 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.6808, allocations: 51.91 kB / 1.359 GB, free: 9.527 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.6809, allocations: 51.97 kB / 1.36 GB, free: 9.477 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.6811, allocations: 95.02 kB / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6811, allocations: 0 / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002049/0.6813, allocations: 149.5 kB / 1.36 GB, free: 9.23 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6813, allocations: 10.19 kB / 1.36 GB, free: 9.223 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6813, allocations: 0 / 1.36 GB, free: 9.223 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.6813, allocations: 4 kB / 1.36 GB, free: 9.219 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.6814, allocations: 23.92 kB / 1.36 GB, free: 9.195 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.6814, allocations: 3.984 kB / 1.36 GB, free: 9.191 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.6814, allocations: 8.062 kB / 1.36 GB, free: 9.184 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.6814, allocations: 7.938 kB / 1.36 GB, free: 9.176 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 6.18e-05/0.6815, allocations: 111.4 kB / 1.36 GB, free: 9.059 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.6815, allocations: 19.88 kB / 1.36 GB, free: 9.039 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.6815, allocations: 4.375 kB / 1.36 GB, free: 9.031 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.6815, allocations: 0 / 1.36 GB, free: 9.031 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.259e-06/0.6815, allocations: 0 / 1.36 GB, free: 9.031 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6816, allocations: 0 / 1.36 GB, free: 9.031 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.682, allocations: 346.4 kB / 1.36 GB, free: 8.641 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.682, allocations: 0 / 1.36 GB, free: 8.641 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.6821, allocations: 19.98 kB / 1.36 GB, free: 8.621 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6821, allocations: 0 / 1.36 GB, free: 8.621 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.6821, allocations: 0 / 1.36 GB, free: 8.621 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6821, allocations: 0 / 1.36 GB, free: 8.621 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6821, allocations: 4 kB / 1.36 GB, free: 8.617 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.6824, allocations: 248.2 kB / 1.361 GB, free: 8.355 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.6824, allocations: 11.97 kB / 1.361 GB, free: 8.344 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.6824, allocations: 0 / 1.361 GB, free: 8.344 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.6825, allocations: 8 kB / 1.361 GB, free: 8.336 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.6825, allocations: 3.984 kB / 1.361 GB, free: 8.332 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.6825, allocations: 4 kB / 1.361 GB, free: 8.328 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.6825, allocations: 100.3 kB / 1.361 GB, free: 8.23 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6825, allocations: 0 / 1.361 GB, free: 8.23 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001731/0.6827, allocations: 24 kB / 1.361 GB, free: 8.207 MB / 1.042 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.0004862/0.6832, allocations: 0.7916 MB / 1.361 GB, free: 7.387 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.6834, allocations: 117.6 kB / 1.362 GB, free: 7.266 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6834, allocations: 3.938 kB / 1.362 GB, free: 7.262 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.6835, allocations: 36.11 kB / 1.362 GB, free: 7.227 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.6837, allocations: 16.23 kB / 1.362 GB, free: 7.211 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.6851, allocations: 1.631 MB / 1.363 GB, free: 5.5 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.6851, allocations: 75.19 kB / 1.363 GB, free: 5.406 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.6852, allocations: 8 kB / 1.363 GB, free: 5.398 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.6852, allocations: 23.36 kB / 1.363 GB, free: 5.375 MB / 1.042 GB Notification: Performance of SimCode: time 4.6e-07/0.6852, allocations: 0 / 1.363 GB, free: 5.375 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.7031, allocations: 3.417 MB / 1.367 GB, free: 2.105 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.226/6.929, allocations: 8.375 kB / 1.367 GB, free: 2.102 MB / 1.042 GB " [Timeout remaining time 293] (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: 11.230887152254581] Failed to read output from testmodel.py, exit status != 0: 7.008319990709424 7.019034347 6.338729592 Calling exit ...