Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.0008012/0.0008012, 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.0009392/0.0009392, allocations: 165.9 kB / 22.45 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.8504/0.8504, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.715/1.715, 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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 3.984 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.986e-05, allocations: 6.219 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001668/0.001688, allocations: 1.379 MB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.002556, allocations: 0.8684 MB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.002596, allocations: 0 / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.002619, allocations: 3.938 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.737e-05/0.002666, allocations: 7.938 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.003161, allocations: 234.8 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.00324, allocations: 55.77 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.003277, allocations: 7.984 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.003324, allocations: 35.91 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.003372, allocations: 15.97 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.003385, allocations: 4 kB / 1.004 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.00376, allocations: 375.4 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.003778, allocations: 15.92 kB / 1.004 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.003801, allocations: 15.98 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.004102, allocations: 311.2 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004104, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004105, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004108, allocations: 0 / 1.005 GB, free: 8.094 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.0003785/0.004487, allocations: 357.2 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.004527, allocations: 12.02 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.004561, allocations: 38.69 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.004716, allocations: 28.86 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.259e-05/0.004789, allocations: 105.8 kB / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.004807, allocations: 384 / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.004825, allocations: 12.38 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.004959, allocations: 109.6 kB / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.004968, allocations: 192 / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004978, allocations: 8.359 kB / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004983, allocations: 8.125 kB / 1.005 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.005063, allocations: 31.95 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.00519, allocations: 152.6 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.005335, allocations: 78.52 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.005385, allocations: 40.84 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.005396, allocations: 0 / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.005416, allocations: 34.5 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 5.91e-07/0.005416, allocations: 0 / 1.006 GB, free: 6.949 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: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002697/0.008114, allocations: 0.9641 MB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.008136, allocations: 51.41 kB / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.008202, allocations: 125.8 kB / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.008223, allocations: 33.7 kB / 1.007 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.008251, allocations: 88.39 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.008282, allocations: 39.66 kB / 1.007 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.00834, allocations: 45.67 kB / 1.007 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.008414, allocations: 314.8 kB / 1.007 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.008561, allocations: 91.94 kB / 1.007 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.008691, allocations: 79.95 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.008957, allocations: 187.3 kB / 1.008 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.008958, allocations: 0 / 1.008 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003331/0.009291, allocations: 243.7 kB / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.009302, allocations: 4 kB / 1.008 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.009316, allocations: 7.938 kB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.009327, allocations: 0 / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.009472, allocations: 31.97 kB / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.009479, allocations: 16.05 kB / 1.008 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.009553, allocations: 8 kB / 1.008 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.009568, allocations: 7.984 kB / 1.008 GB, free: 4.527 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 7.636e-05/0.009644, allocations: 122.2 kB / 1.008 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.009662, allocations: 11.98 kB / 1.008 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.009693, allocations: 20.31 kB / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.009694, allocations: 0 / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.009699, allocations: 4 kB / 1.008 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.009703, allocations: 3.984 kB / 1.008 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.01022, allocations: 418.1 kB / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01022, allocations: 0 / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01036, allocations: 35.89 kB / 1.009 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01036, allocations: 4 kB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.01037, allocations: 4 kB / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01037, allocations: 3.984 kB / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.01038, allocations: 0 / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.01086, allocations: 375.2 kB / 1.009 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.01087, allocations: 3.953 kB / 1.009 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.01089, allocations: 4.031 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.01099, allocations: 11.98 kB / 1.009 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.01102, allocations: 11.97 kB / 1.009 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.01103, allocations: 4 kB / 1.009 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.01106, allocations: 95.2 kB / 1.009 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 0 / 1.009 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001836/0.01124, allocations: 40 kB / 1.009 GB, free: 3.309 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0006715/0.01191, allocations: 0.9153 MB / 1.01 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.01223, allocations: 197.5 kB / 1.01 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01223, allocations: 0 / 1.01 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.01236, allocations: 91.88 kB / 1.01 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01257, allocations: 9.016 kB / 1.01 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.01451, allocations: 2.016 MB / 1.012 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.341e-05/0.01456, allocations: 75.33 kB / 1.012 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.085e-05/0.01464, allocations: 20.67 kB / 1.012 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.01472, allocations: 36.47 kB / 1.012 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of SimCode: time 4.61e-07/0.01472, allocations: 0 / 1.012 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.03026, allocations: 4.291 MB / 1.017 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/6.599, allocations: 10.42 kB / 1.017 GB, free: 11.73 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.csv --start-time -2 --stop-time 2 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 10.53762330301106] Failed to read output from testmodel.py, exit status != 0: 6.677085971459746 6.685633662 6.679879885 Calling exit ...