Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_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.001354/0.001354, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001616/0.001616, allocations: 209 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.497/1.497, allocations: 230.7 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.01/1.01, allocations: 149.9 MB / 463.1 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 62.03 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1795, allocations: 89.18 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003059/0.1826, allocations: 1.47 MB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1837, allocations: 0.5527 MB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.1837, allocations: 7.938 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.1837, allocations: 7.922 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.1838, allocations: 3.938 kB / 0.7302 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.1845, allocations: 163.3 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.1846, allocations: 51.84 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.1846, allocations: 0 / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.1847, allocations: 27.92 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.1848, allocations: 27.84 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1848, allocations: 4 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.1852, allocations: 275.5 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.1853, allocations: 11.94 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.1853, allocations: 23.86 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1856, allocations: 163.7 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1856, allocations: 4 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1856, allocations: 0 / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.1857, allocations: 0 / 0.7309 GB, free: 14.24 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.0006088/0.1863, allocations: 329.8 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1863, allocations: 8.031 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.872e-05/0.1864, allocations: 38.75 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1864, allocations: 8.891 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1865, allocations: 102.5 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1865, allocations: 8.375 kB / 0.7314 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1866, allocations: 20.06 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.1868, allocations: 133 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1869, allocations: 0 / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1869, allocations: 4 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1869, allocations: 0 / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1871, allocations: 50.95 kB / 0.7315 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.1877, allocations: 291.7 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.188, allocations: 78.53 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1881, allocations: 32.84 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1881, allocations: 0 / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1882, allocations: 34.55 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1882, allocations: 0 / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001722/0.1899, allocations: 0.4997 MB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1899, allocations: 63.33 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.19, allocations: 94 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1901, allocations: 29.7 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.1901, allocations: 96.08 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.1902, allocations: 35.7 kB / 0.7328 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.1902, allocations: 29.8 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1904, allocations: 322.8 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1905, allocations: 27.98 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1906, allocations: 39.97 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.1909, allocations: 68.83 kB / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1909, allocations: 0 / 0.7332 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003552/0.1913, allocations: 121.7 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.1913, allocations: 13.97 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1913, allocations: 48 / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1913, allocations: 7.922 kB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1915, allocations: 23.98 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1915, allocations: 4 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.1916, allocations: 11.98 kB / 0.7334 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1916, allocations: 4 kB / 0.7334 GB, free: 11.4 MB / 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.0001087/0.1917, allocations: 113.8 kB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.1917, allocations: 7.953 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.1921, allocations: 134.8 kB / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1921, allocations: 0 / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1921, allocations: 0 / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1921, allocations: 8 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.1928, allocations: 349.5 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1928, allocations: 0 / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1929, allocations: 27.98 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1929, allocations: 4 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1929, allocations: 3.984 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1929, allocations: 0 / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1929, allocations: 0 / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.1935, allocations: 260.2 kB / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.1935, allocations: 7.891 kB / 0.7343 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.1935, allocations: 4.031 kB / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.1936, allocations: 8 kB / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.1937, allocations: 3.984 kB / 0.7343 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1937, allocations: 7.984 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.1937, allocations: 79.28 kB / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1937, allocations: 0 / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002889/0.194, allocations: 39.88 kB / 0.7344 GB, free: 10.28 MB / 0.5606 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.0009828/0.195, allocations: 0.8275 MB / 0.7352 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.1953, allocations: 71.95 kB / 0.7353 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1953, allocations: 0 / 0.7353 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.1955, allocations: 47.91 kB / 0.7353 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1958, allocations: 13.31 kB / 0.7354 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.1981, allocations: 1.604 MB / 0.7369 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.951e-05/0.1982, allocations: 79.33 kB / 0.737 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.185e-05/0.1982, allocations: 12.66 kB / 0.737 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.1983, allocations: 27.42 kB / 0.737 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.1983, allocations: 0 / 0.737 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.2319, allocations: 2.838 MB / 0.7398 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.57, allocations: 1.594 kB / 0.7398 GB, free: 4.828 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.329502468928695] Failed to read output from testmodel.py, exit status != 0: 11.683759328909218 11.708099957 11.5179925 Calling exit ...