Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001457/0.001457, allocations: 108.8 kB / 16.45 MB, free: 6.391 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.001435/0.001435, allocations: 191.7 kB / 19.41 MB, free: 3.75 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.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.002532/0.002532, allocations: 276.9 kB / 303 MB, free: 9.512 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.19/1.19, allocations: 180.9 MB / 0.5261 GB, free: 14.56 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_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 103.2 kB / 0.7248 GB, free: 40.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1595, allocations: 94.17 MB / 0.8167 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002833/0.1623, allocations: 1.472 MB / 0.8182 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1637, allocations: 0.64 MB / 0.8188 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.1638, allocations: 0 / 0.8188 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.1638, allocations: 3.938 kB / 0.8188 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.1639, allocations: 7.938 kB / 0.8188 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.1645, allocations: 163.9 kB / 0.819 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1646, allocations: 55.59 kB / 0.819 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.1647, allocations: 4 kB / 0.819 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.1648, allocations: 23.91 kB / 0.819 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.1648, allocations: 27.91 kB / 0.8191 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1649, allocations: 4 kB / 0.8191 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.1655, allocations: 351.2 kB / 0.8194 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.1655, allocations: 8 kB / 0.8194 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1655, allocations: 27.86 kB / 0.8194 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1659, allocations: 178.4 kB / 0.8196 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.1659, allocations: 0 / 0.8196 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1659, allocations: 4 kB / 0.8196 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.1659, allocations: 0 / 0.8196 GB, free: 2.473 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000761/0.1667, allocations: 406.9 kB / 0.82 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.1667, allocations: 12.03 kB / 0.82 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.1668, allocations: 34.75 kB / 0.82 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.1668, allocations: 8.922 kB / 0.8201 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.167, allocations: 172.3 kB / 0.8202 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.1671, allocations: 384 / 0.8202 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.1671, allocations: 12.38 kB / 0.8202 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1674, allocations: 78.22 kB / 0.8203 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1674, allocations: 3.938 kB / 0.8203 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1674, allocations: 0 / 0.8203 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1674, allocations: 0 / 0.8203 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.1677, allocations: 55.95 kB / 0.8204 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.1684, allocations: 332.6 kB / 0.8207 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1687, allocations: 70.53 kB / 0.8207 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.1688, allocations: 32.83 kB / 0.8208 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1688, allocations: 3.938 kB / 0.8208 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.1689, allocations: 42.5 kB / 0.8208 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1689, allocations: 0 / 0.8208 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001754/0.1706, allocations: 0.6503 MB / 0.8215 GB, free: 324 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1707, allocations: 51.41 kB / 0.8215 GB, free: 260 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.1708, allocations: 105.8 kB / 0.8216 GB, free: 144 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1708, allocations: 25.7 kB / 0.8216 GB, free: 112 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.1708, allocations: 96.02 kB / 0.8217 GB, free: 12 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.1709, allocations: 43.8 kB / 0.8218 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.171, allocations: 25.72 kB / 0.8218 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1711, allocations: 322.8 kB / 0.8221 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1712, allocations: 27.98 kB / 0.8221 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1713, allocations: 39.97 kB / 0.8222 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1716, allocations: 68.83 kB / 0.8222 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1716, allocations: 0 / 0.8222 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003091/0.1719, allocations: 123.7 kB / 0.8223 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1719, allocations: 8 kB / 0.8224 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1719, allocations: 0 / 0.8224 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1719, allocations: 0 / 0.8224 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1721, allocations: 27.98 kB / 0.8224 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.1721, allocations: 7.938 kB / 0.8224 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.1722, allocations: 3.984 kB / 0.8224 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1722, allocations: 4 kB / 0.8224 GB, free: 15.3 MB / 0.5762 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.0002104/0.1724, allocations: 121.8 kB / 0.8225 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.1724, allocations: 8 kB / 0.8225 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.1728, allocations: 125.5 kB / 0.8226 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1728, allocations: 4 kB / 0.8226 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1729, allocations: 3.938 kB / 0.8226 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1729, allocations: 0 / 0.8226 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.1735, allocations: 390.3 kB / 0.823 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1735, allocations: 4 kB / 0.823 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1736, allocations: 27.98 kB / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1736, allocations: 3.938 kB / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1736, allocations: 0 / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1736, allocations: 0 / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1736, allocations: 0 / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.1741, allocations: 259.7 kB / 0.8233 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.1742, allocations: 81.06 kB / 0.8234 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1742, allocations: 7.938 kB / 0.8234 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1743, allocations: 7.984 kB / 0.8234 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.1743, allocations: 7.984 kB / 0.8234 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.1744, allocations: 8 kB / 0.8234 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.1744, allocations: 79.28 kB / 0.8235 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1744, allocations: 0 / 0.8235 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002947/0.1747, allocations: 39.86 kB / 0.8235 GB, free: 14.03 MB / 0.5762 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.001006/0.1757, allocations: 0.8176 MB / 0.8243 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.1761, allocations: 83.94 kB / 0.8244 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1761, allocations: 4.062 kB / 0.8244 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1762, allocations: 43.86 kB / 0.8244 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1765, allocations: 7.984 kB / 0.8245 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1788, allocations: 1.59 MB / 0.826 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1791, allocations: 0.6929 MB / 0.8267 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.252e-05/0.1792, allocations: 16.59 kB / 0.8267 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.1792, allocations: 29.62 kB / 0.8267 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.1792, allocations: 0 / 0.8267 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2082, allocations: 2.372 MB / 0.829 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.206/8.415, allocations: 17.73 kB / 0.8291 GB, free: 8.441 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.391873447224498] Failed to read output from testmodel.py, exit status != 0: 8.487525198142976 8.50951612 8.339508679 Calling exit ...