Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 105.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 294 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.199/1.199, allocations: 180.9 MB / 0.5261 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 103.2 kB / 0.7248 GB, free: 39.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1659, allocations: 94.17 MB / 0.8167 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002521/0.1685, allocations: 1.283 MB / 0.818 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1696, allocations: 0.6169 MB / 0.8186 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.1696, allocations: 0 / 0.8186 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.1696, allocations: 7.938 kB / 0.8186 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.558e-05/0.1696, allocations: 3.984 kB / 0.8186 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.1702, allocations: 150.4 kB / 0.8187 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.1703, allocations: 31.86 kB / 0.8188 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.1703, allocations: 0 / 0.8188 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.1704, allocations: 15.92 kB / 0.8188 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.1704, allocations: 15.92 kB / 0.8188 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1704, allocations: 0 / 0.8188 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.171, allocations: 351.3 kB / 0.8191 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.171, allocations: 8 kB / 0.8191 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.171, allocations: 11.92 kB / 0.8191 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1713, allocations: 151.8 kB / 0.8193 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1713, allocations: 0 / 0.8193 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1713, allocations: 0 / 0.8193 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1713, allocations: 0 / 0.8193 GB, free: 2.773 MB / 0.5606 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.0004928/0.1718, allocations: 375 kB / 0.8197 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1718, allocations: 8.031 kB / 0.8197 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.1719, allocations: 46.73 kB / 0.8197 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1719, allocations: 4.938 kB / 0.8197 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.172, allocations: 168.3 kB / 0.8199 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.172, allocations: 4.375 kB / 0.8199 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.1721, allocations: 8.375 kB / 0.8199 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1722, allocations: 42.25 kB / 0.8199 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1722, allocations: 3.938 kB / 0.8199 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1722, allocations: 4 kB / 0.8199 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1722, allocations: 0 / 0.8199 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.672e-05/0.1723, allocations: 31.8 kB / 0.82 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.1725, allocations: 169.7 kB / 0.8201 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1726, allocations: 54.56 kB / 0.8202 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.1726, allocations: 28.84 kB / 0.8202 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1726, allocations: 240 / 0.8202 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1727, allocations: 34.55 kB / 0.8202 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.1727, allocations: 0 / 0.8202 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001183/0.1739, allocations: 0.5876 MB / 0.8208 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1739, allocations: 59.28 kB / 0.8209 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.174, allocations: 97.86 kB / 0.821 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.174, allocations: 25.83 kB / 0.821 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.174, allocations: 88.14 kB / 0.8211 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1741, allocations: 43.67 kB / 0.8211 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.1741, allocations: 25.7 kB / 0.8211 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1743, allocations: 314.8 kB / 0.8214 GB, free: 276 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/0.1743, allocations: 23.98 kB / 0.8215 GB, free: 252 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.1744, allocations: 23.98 kB / 0.8215 GB, free: 228 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1745, allocations: 56.86 kB / 0.8215 GB, free: 168 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1745, allocations: 0 / 0.8215 GB, free: 168 kB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001445/0.1746, allocations: 102.4 kB / 0.8216 GB, free: 60 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1746, allocations: 4 kB / 0.8216 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1746, allocations: 3.984 kB / 0.8216 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1746, allocations: 4 kB / 0.8216 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1747, allocations: 20 kB / 0.8217 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1747, allocations: 0 / 0.8217 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.1748, allocations: 4 kB / 0.8217 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1748, allocations: 0 / 0.8217 GB, free: 24 kB / 0.5606 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001079/0.1749, allocations: 121.8 kB / 0.8218 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.1749, allocations: 15.89 kB / 0.8218 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1751, allocations: 109.5 kB / 0.8219 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1751, allocations: 0 / 0.8219 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1751, allocations: 4 kB / 0.8219 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1751, allocations: 0 / 0.8219 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.1755, allocations: 346.5 kB / 0.8222 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1755, allocations: 0 / 0.8222 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1756, allocations: 31.97 kB / 0.8223 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1756, allocations: 0 / 0.8223 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1756, allocations: 8 kB / 0.8223 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1757, allocations: 3.938 kB / 0.8223 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1757, allocations: 0 / 0.8223 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1759, allocations: 219.7 kB / 0.8225 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.176, allocations: 81.11 kB / 0.8226 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.176, allocations: 4.031 kB / 0.8226 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.1761, allocations: 0 / 0.8226 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.1761, allocations: 7.984 kB / 0.8226 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1761, allocations: 12.06 kB / 0.8226 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.1761, allocations: 75.28 kB / 0.8227 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 0.8227 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002674/0.1764, allocations: 35.88 kB / 0.8227 GB, free: 14.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0006554/0.177, allocations: 0.7944 MB / 0.8235 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1772, allocations: 67.05 kB / 0.8235 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1772, allocations: 0 / 0.8235 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.1773, allocations: 35.92 kB / 0.8236 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1775, allocations: 4 kB / 0.8236 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.179, allocations: 1.509 MB / 0.825 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1793, allocations: 0.6924 MB / 0.8257 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.1793, allocations: 11.92 kB / 0.8257 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1794, allocations: 19.44 kB / 0.8257 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1794, allocations: 0 / 0.8257 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.2057, allocations: 2.091 MB / 0.8278 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/7.964, allocations: 25.06 kB / 0.8278 GB, free: 9.68 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.054752465803176] Failed to read output from testmodel.py, exit status != 0: 8.036103977356106 8.065873864 7.889387505 Calling exit ...