Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.000775/0.000775, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008919/0.0008919, allocations: 173 kB / 23.36 MB, free: 1.133 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.91/0.91, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7748/0.7748, allocations: 154.6 MB / 414.8 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0.6562 kB / 480 MB, free: 6.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.886e-05, allocations: 5.922 kB / 480 MB, free: 6.871 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002168/0.002187, allocations: 1.331 MB / 481.3 MB, free: 5.562 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.003142, allocations: 0.5788 MB / 481.9 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.003166, allocations: 0 / 481.9 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.003183, allocations: 3.938 kB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.003222, allocations: 1.641 kB / 481.9 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.003714, allocations: 157.9 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.003775, allocations: 21.08 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.00381, allocations: 8.641 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.003866, allocations: 8.891 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.003913, allocations: 11.98 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.003926, allocations: 0 / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.004305, allocations: 269.2 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.004322, allocations: 7.984 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.004338, allocations: 7.984 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.004565, allocations: 151.5 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004567, allocations: 0 / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004568, allocations: 0.875 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.776e-06/0.00457, allocations: 0 / 482.5 MB, free: 4.379 MB / 442.7 MB 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.0003036/0.004874, allocations: 268.9 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.004908, allocations: 12.02 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.004934, allocations: 5.938 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.663e-05/0.00501, allocations: 106.1 kB / 482.9 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.005022, allocations: 4.375 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.005043, allocations: 5 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.867e-05/0.005122, allocations: 59.95 kB / 483 MB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.005128, allocations: 1.5 kB / 483 MB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.005135, allocations: 4.375 kB / 483 MB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.005141, allocations: 384 / 483 MB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.005162, allocations: 16.36 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.392e-05/0.005256, allocations: 68.98 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.005397, allocations: 35.98 kB / 483.1 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.005418, allocations: 12.84 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.00543, allocations: 1.062 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.005453, allocations: 34.56 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.005454, allocations: 0 / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.000492/0.005946, allocations: 229.4 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.005976, allocations: 51.41 kB / 483.4 MB, free: 3.352 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.329e-05/0.006029, allocations: 107.3 kB / 483.5 MB, free: 3.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006041, allocations: 25.7 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.006064, allocations: 85.58 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.006093, allocations: 27.73 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.006125, allocations: 25.7 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.006209, allocations: 315.6 kB / 484 MB, free: 2.742 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.006221, allocations: 4 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.006234, allocations: 7.984 kB / 484 MB, free: 2.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.714e-05/0.006271, allocations: 26.22 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006272, allocations: 0 / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.888e-05/0.006341, allocations: 49.69 kB / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.006353, allocations: 8.828 kB / 484.1 MB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.006356, allocations: 0 / 484.1 MB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.006367, allocations: 0 / 484.1 MB, free: 2.641 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.293e-05/0.00641, allocations: 12.59 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.006413, allocations: 5 kB / 484.1 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.00643, allocations: 7.938 kB / 484.1 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.006435, allocations: 0 / 484.1 MB, free: 2.617 MB / 442.7 MB 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 (7): * Single equations (assignments): 7 * 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 5.526e-05/0.00649, allocations: 114.9 kB / 484.2 MB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.0065, allocations: 3.984 kB / 484.2 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.754e-05/0.006587, allocations: 58.44 kB / 484.3 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.006589, allocations: 0 / 484.3 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.00659, allocations: 0.75 kB / 484.3 MB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.006594, allocations: 4 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.006797, allocations: 212.2 kB / 484.5 MB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.006799, allocations: 4.609 kB / 484.5 MB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.006849, allocations: 12 kB / 484.5 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006851, allocations: 0.5625 kB / 484.5 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.006858, allocations: 0.5938 kB / 484.5 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.006859, allocations: 0 / 484.5 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006861, allocations: 0.8125 kB / 484.5 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.006982, allocations: 168.2 kB / 484.7 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.006999, allocations: 7.656 kB / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.007009, allocations: 3.984 kB / 484.7 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.738e-05/0.007067, allocations: 8 kB / 484.7 MB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.00708, allocations: 4.562 kB / 484.7 MB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.007086, allocations: 4 kB / 484.7 MB, free: 1.969 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.054e-05/0.007097, allocations: 10.25 kB / 484.7 MB, free: 1.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007097, allocations: 0 / 484.7 MB, free: 1.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.00733, allocations: 19.94 kB / 484.8 MB, free: 1.938 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001313/0.007461, allocations: 105 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.344e-05/0.007525, allocations: 33.36 kB / 484.9 MB, free: 1.793 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.007527, allocations: 1.906 kB / 484.9 MB, free: 1.793 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.007545, allocations: 12.86 kB / 484.9 MB, free: 1.777 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.007704, allocations: 8 kB / 484.9 MB, free: 1.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.008149, allocations: 176.4 kB / 485.1 MB, free: 1.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.008192, allocations: 59.34 kB / 485.1 MB, free: 1.512 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.00822, allocations: 9.375 kB / 485.2 MB, free: 1.504 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.008265, allocations: 59.31 kB / 485.2 MB, free: 1.445 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008265, allocations: 0 / 485.2 MB, free: 1.445 MB / 442.7 MB Notification: Performance of Templates: time 0.002639/0.0109, allocations: 0.7546 MB / 486 MB, free: 0.7773 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4950484656728804]