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.0007966/0.0007966, allocations: 81.69 kB / 19.27 MB, free: 0.5859 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.0008088/0.0008088, allocations: 166 kB / 22.58 MB, free: 1.922 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.8558/0.8558, allocations: 177.1 MB / 202.9 MB, free: 5.699 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.734/1.734, 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_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.663e-06/1.663e-06, allocations: 0 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.072e-05, allocations: 2.312 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001588/0.001608, allocations: 1.356 MB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.00252, allocations: 0.8529 MB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.002557, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.002574, allocations: 7.938 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.002625, allocations: 19.84 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.003136, allocations: 222.8 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.077e-05/0.003207, allocations: 43.8 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.003251, allocations: 11.97 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.653e-05/0.003307, allocations: 31.91 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.003355, allocations: 11.98 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.003369, allocations: 4 kB / 1.004 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.003753, allocations: 379.4 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.00377, allocations: 7.938 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.003793, allocations: 11.98 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.004094, allocations: 299.2 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.004098, allocations: 0 / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004099, allocations: 0 / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.004104, allocations: 4 kB / 1.005 GB, free: 8.039 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.0003671/0.004471, allocations: 349.3 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.004509, allocations: 8.031 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.004537, allocations: 42.62 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.0047, allocations: 24.86 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.004776, allocations: 113.4 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.004795, allocations: 384 / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.004813, allocations: 4.375 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.004937, allocations: 75.94 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.004944, allocations: 4.188 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004953, allocations: 384 / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.00496, allocations: 8.125 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.882e-05/0.005029, allocations: 23.97 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.005158, allocations: 140.8 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.005367, allocations: 66.47 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.005412, allocations: 20.94 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.005426, allocations: 4 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.005445, allocations: 38.56 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.005446, allocations: 0 / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001111/0.006557, allocations: 404.8 kB / 1.006 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.006585, allocations: 55.41 kB / 1.006 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.006653, allocations: 126.1 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.006666, allocations: 29.7 kB / 1.006 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.006696, allocations: 88.08 kB / 1.006 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.00672, allocations: 23.8 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.006761, allocations: 29.7 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.006831, allocations: 322.8 kB / 1.007 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.006913, allocations: 43.97 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.006986, allocations: 46.78 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.00714, allocations: 104.8 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007141, allocations: 0 / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002023/0.007344, allocations: 149.5 kB / 1.007 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.007356, allocations: 4 kB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.007369, allocations: 4 kB / 1.007 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.007382, allocations: 3.938 kB / 1.007 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.164e-05/0.007454, allocations: 19.97 kB / 1.007 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.007461, allocations: 4 kB / 1.007 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.007501, allocations: 4 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.00751, allocations: 4 kB / 1.007 GB, free: 5.469 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 5.921e-05/0.00757, allocations: 121.8 kB / 1.007 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.007581, allocations: 4.344 kB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.007612, allocations: 16.44 kB / 1.007 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.007616, allocations: 7.922 kB / 1.007 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.00762, allocations: 0 / 1.007 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007623, allocations: 0 / 1.007 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.00806, allocations: 338.4 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.008063, allocations: 3.938 kB / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.008128, allocations: 15.98 kB / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.008132, allocations: 4 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.008142, allocations: 4 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008144, allocations: 3.938 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008145, allocations: 0 / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.008423, allocations: 236.5 kB / 1.008 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.008452, allocations: 15.91 kB / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.008469, allocations: 8 kB / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.103e-05/0.00853, allocations: 4 kB / 1.008 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.008547, allocations: 3.984 kB / 1.008 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.008554, allocations: 4 kB / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.008587, allocations: 91.27 kB / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008587, allocations: 0 / 1.008 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001809/0.008768, allocations: 28 kB / 1.008 GB, free: 4.5 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.0005095/0.009278, allocations: 0.7952 MB / 1.009 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.009525, allocations: 117.6 kB / 1.009 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.009528, allocations: 0 / 1.009 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/0.009592, allocations: 31.97 kB / 1.009 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.009873, allocations: 12.95 kB / 1.009 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.0114, allocations: 1.636 MB / 1.011 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.36e-05/0.01144, allocations: 71.33 kB / 1.011 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.346e-05/0.01148, allocations: 8.094 kB / 1.011 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.01154, allocations: 28.47 kB / 1.011 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of SimCode: time 8.81e-07/0.01154, allocations: 0 / 1.011 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.02899, allocations: 3.581 MB / 1.014 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.309/6.338, allocations: 11.42 kB / 1.014 GB, free: 14.27 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_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_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.33064636029303] Failed to read output from testmodel.py, exit status != 0: 6.4189933855086565 6.42756499 6.421648768 Calling exit ...