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.0007444/0.0007444, 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.0007289/0.0007289, allocations: 165.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.8303/0.8303, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.722/1.722, allocations: 390.1 MB / 0.6341 GB, free: 11.61 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.723e-06/1.723e-06, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.888e-05, allocations: 2.281 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002273/0.002292, allocations: 1.368 MB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003479, allocations: 0.8645 MB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.003516, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.003535, allocations: 3.938 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.003589, allocations: 11.91 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.004183, allocations: 214.8 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.897e-05/0.004282, allocations: 43.84 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.004335, allocations: 15.97 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.015e-05/0.004405, allocations: 23.92 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.004456, allocations: 15.98 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.004471, allocations: 3.938 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.00499, allocations: 375.5 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.005008, allocations: 7.938 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.005035, allocations: 15.98 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.005379, allocations: 303.1 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005382, allocations: 0 / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005383, allocations: 0 / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.005388, allocations: 0 / 1.005 GB, free: 8.203 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.0003907/0.005779, allocations: 349.2 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.005819, allocations: 12.03 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.005855, allocations: 38.75 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.006022, allocations: 24.86 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.006108, allocations: 109.7 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.006134, allocations: 4.375 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.006153, allocations: 8.359 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006291, allocations: 75.94 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.006298, allocations: 192 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.006309, allocations: 4.375 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.006315, allocations: 4.125 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.006389, allocations: 27.92 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.00653, allocations: 140.7 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.006743, allocations: 62.55 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.006788, allocations: 24.94 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.006799, allocations: 0 / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.00682, allocations: 34.55 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.00682, allocations: 4 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001073/0.007894, allocations: 412.8 kB / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.007921, allocations: 59.34 kB / 1.006 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.007994, allocations: 125.6 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.008006, allocations: 29.7 kB / 1.006 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.008033, allocations: 84.09 kB / 1.006 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.008057, allocations: 27.78 kB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.008103, allocations: 33.7 kB / 1.006 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.008311, allocations: 310.8 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.008398, allocations: 51.97 kB / 1.007 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.169e-05/0.00847, allocations: 47.97 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.008618, allocations: 99.14 kB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.008619, allocations: 0 / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001937/0.008813, allocations: 149.5 kB / 1.007 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.008826, allocations: 4 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.008838, allocations: 7.938 kB / 1.007 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.008854, allocations: 7.938 kB / 1.007 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.964e-05/0.008924, allocations: 19.98 kB / 1.007 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.008928, allocations: 0 / 1.007 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.008968, allocations: 7.984 kB / 1.007 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.008976, allocations: 0 / 1.007 GB, free: 5.621 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 6.743e-05/0.009044, allocations: 122.2 kB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.009055, allocations: 7.953 kB / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.009088, allocations: 12.42 kB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.009091, allocations: 3.938 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.009095, allocations: 4 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.009098, allocations: 0 / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.009521, allocations: 334.5 kB / 1.007 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.009524, allocations: 3.938 kB / 1.007 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.00959, allocations: 23.97 kB / 1.007 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.009592, allocations: 0 / 1.007 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.0096, allocations: 0 / 1.007 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.009602, allocations: 0 / 1.007 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.009603, allocations: 8.031 kB / 1.007 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.009871, allocations: 240.2 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.009899, allocations: 15.91 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.009912, allocations: 0 / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-05/0.009973, allocations: 11.98 kB / 1.008 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.009995, allocations: 7.984 kB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.01, allocations: 0 / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.01004, allocations: 95.27 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 4.062 kB / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001677/0.01021, allocations: 20 kB / 1.008 GB, free: 4.648 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.0005049/0.01071, allocations: 0.7873 MB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.01093, allocations: 121.6 kB / 1.009 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01093, allocations: 0 / 1.009 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.01099, allocations: 36.03 kB / 1.009 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.01125, allocations: 11.98 kB / 1.009 GB, free: 3.656 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.01259, allocations: 1.628 MB / 1.01 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.01263, allocations: 71.33 kB / 1.01 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.01267, allocations: 8 kB / 1.01 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.01272, allocations: 20.48 kB / 1.01 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.01272, allocations: 0 / 1.01 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.02941, allocations: 3.55 MB / 1.014 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.323/6.353, allocations: 15.94 kB / 1.014 GB, free: 14.43 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.203872667625546] Failed to read output from testmodel.py, exit status != 0: 6.4314742954447865 6.439751882 6.432830259 Calling exit ...