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.000777/0.000777, 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.0007674/0.0007674, allocations: 169.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.8812/0.8812, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.773/1.773, allocations: 390.1 MB / 0.6341 GB, free: 11.62 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.502e-06/1.502e-06, allocations: 0 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.815e-05, allocations: 6.219 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001574/0.001593, allocations: 1.359 MB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.002589, allocations: 0.8606 MB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.002621, allocations: 4 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.002632, allocations: 3.938 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.074e-05/0.002663, allocations: 19.84 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.003119, allocations: 222.8 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.003171, allocations: 47.78 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 2.173e-05/0.003192, allocations: 7.984 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.816e-05/0.003231, allocations: 23.97 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.003267, allocations: 15.92 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.003276, allocations: 4 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.003614, allocations: 375.4 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.003626, allocations: 7.938 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.003642, allocations: 15.98 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.003909, allocations: 299.2 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003911, allocations: 0 / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003912, allocations: 4 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003916, allocations: 0 / 1.005 GB, free: 8.211 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.0002493/0.004165, allocations: 345.3 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.517e-05/0.00419, allocations: 12.02 kB / 1.005 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.004214, allocations: 34.75 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.004336, allocations: 20.88 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.559e-05/0.004391, allocations: 121.7 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004401, allocations: 384 / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.00441, allocations: 384 / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.753e-05/0.004498, allocations: 83.94 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-06/0.004501, allocations: 192 / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-06/0.004506, allocations: 384 / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.00451, allocations: 8.125 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.234e-05/0.004572, allocations: 23.97 kB / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.955e-05/0.004662, allocations: 144.7 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.004824, allocations: 70.47 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.004862, allocations: 20.94 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.004868, allocations: 11.94 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.004883, allocations: 30.56 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.004883, allocations: 0 / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0009477/0.005831, allocations: 408.8 kB / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.005854, allocations: 51.41 kB / 1.006 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.005919, allocations: 122.1 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.005933, allocations: 29.7 kB / 1.006 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.00596, allocations: 92.08 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.005982, allocations: 23.8 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.00602, allocations: 29.64 kB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.006088, allocations: 322.8 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.006202, allocations: 43.97 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.006291, allocations: 47.97 kB / 1.007 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.006441, allocations: 107.5 kB / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.006441, allocations: 0 / 1.007 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001902/0.006632, allocations: 141.6 kB / 1.007 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.006643, allocations: 4 kB / 1.007 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.006653, allocations: 4 kB / 1.007 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.006667, allocations: 3.938 kB / 1.007 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.006739, allocations: 15.98 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.006744, allocations: 7.984 kB / 1.007 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.079e-05/0.006785, allocations: 8 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.006794, allocations: 4 kB / 1.007 GB, free: 5.633 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.66e-05/0.00685, allocations: 118.2 kB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.006861, allocations: 8.266 kB / 1.007 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.00689, allocations: 8.438 kB / 1.007 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006892, allocations: 7.938 kB / 1.007 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.006897, allocations: 3.984 kB / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.0069, allocations: 0 / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.007444, allocations: 346.4 kB / 1.007 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.007448, allocations: 3.938 kB / 1.007 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.007543, allocations: 15.98 kB / 1.007 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.007549, allocations: 0 / 1.007 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.007561, allocations: 8.125 kB / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.007564, allocations: 0 / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.007566, allocations: 0 / 1.007 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.00787, allocations: 244.2 kB / 1.008 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.007914, allocations: 15.91 kB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.007931, allocations: 4 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.007998, allocations: 4 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.008027, allocations: 3.984 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.008037, allocations: 8 kB / 1.008 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.008077, allocations: 98.45 kB / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008077, allocations: 0 / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001868/0.008264, allocations: 24 kB / 1.008 GB, free: 4.656 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.0005763/0.00884, allocations: 0.7912 MB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.009109, allocations: 117.6 kB / 1.009 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.009111, allocations: 0 / 1.009 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.009176, allocations: 35.92 kB / 1.009 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.009439, allocations: 12.11 kB / 1.009 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.01094, allocations: 1.619 MB / 1.01 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.021e-05/0.01099, allocations: 67.34 kB / 1.01 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.441e-05/0.01103, allocations: 12.08 kB / 1.01 GB, free: 1.863 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.01109, allocations: 28.47 kB / 1.01 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of SimCode: time 1.032e-06/0.01109, allocations: 0 / 1.01 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.02808, allocations: 3.539 MB / 1.014 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.362/6.39, allocations: 18.8 kB / 1.014 GB, free: 14.45 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.47280425671488] Failed to read output from testmodel.py, exit status != 0: 6.469422964379191 6.478984819 6.473245459 Calling exit ...