Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009988/0.0009988, allocations: 80.88 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.001103/0.001103, allocations: 181 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.9458/0.9458, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7492/0.7492, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.957e-05, allocations: 2.859 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001556/0.001575, allocations: 1.323 MB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007317/0.002307, allocations: 0.5788 MB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.002331, allocations: 1.5 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.002346, allocations: 0.7656 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.058e-05/0.002386, allocations: 9.797 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.002828, allocations: 145.8 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.283e-05/0.002881, allocations: 24.69 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.92e-05/0.00291, allocations: 7.938 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.002959, allocations: 15.91 kB / 482.5 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.002997, allocations: 4 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.00301, allocations: 7.25 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.003291, allocations: 267.4 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.003304, allocations: 0 / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.455e-05/0.003319, allocations: 8 kB / 482.7 MB, free: 4.215 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.003499, allocations: 159.5 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003501, allocations: 0 / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.003502, allocations: 4 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003505, allocations: 0 / 482.9 MB, free: 4.055 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.0002644/0.00377, allocations: 264.3 kB / 483.2 MB, free: 3.773 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.0038, allocations: 8.031 kB / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.003823, allocations: 8.875 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.854e-05/0.003892, allocations: 107 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.003903, allocations: 4.375 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.003922, allocations: 5.234 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.158e-05/0.003993, allocations: 63.95 kB / 483.4 MB, free: 3.547 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.003999, allocations: 4.812 kB / 483.4 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-06/0.004004, allocations: 384 / 483.4 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004009, allocations: 1 kB / 483.4 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.004026, allocations: 7.938 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.943e-05/0.004106, allocations: 65.59 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.004231, allocations: 39.28 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.004248, allocations: 19 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.00426, allocations: 8.562 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.004278, allocations: 30.56 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004278, allocations: 0.8125 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004042/0.004683, allocations: 228 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.004709, allocations: 55.34 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.344e-05/0.004752, allocations: 102.7 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.004762, allocations: 29.69 kB / 483.9 MB, free: 2.875 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.962e-05/0.004781, allocations: 84.8 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.004805, allocations: 19.8 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.00483, allocations: 26.66 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.004897, allocations: 322.8 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.004906, allocations: 4.625 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.004915, allocations: 4 kB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.004945, allocations: 25.33 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.004946, allocations: 0.8125 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003191/0.005265, allocations: 53.62 kB / 484.5 MB, free: 2.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.005276, allocations: 5.219 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00528, allocations: 0 / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.00529, allocations: 0 / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.338e-05/0.005323, allocations: 15.98 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.005326, allocations: 1.062 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.005336, allocations: 3.938 kB / 484.5 MB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.005341, allocations: 1.156 kB / 484.5 MB, free: 2.297 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 4.504e-05/0.005386, allocations: 113.8 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-06/0.005391, allocations: 0 / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/0.005471, allocations: 64.73 kB / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.005473, allocations: 0 / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005474, allocations: 0 / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005477, allocations: 0 / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.005633, allocations: 211.6 kB / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005634, allocations: 5.031 kB / 484.9 MB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.005671, allocations: 16.17 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005672, allocations: 0 / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.005678, allocations: 4.531 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005679, allocations: 0.8438 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.005681, allocations: 4 kB / 484.9 MB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.531e-05/0.005776, allocations: 165.4 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.005791, allocations: 4 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-06/0.005798, allocations: 0 / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.339e-05/0.005831, allocations: 9.641 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.005844, allocations: 11.92 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.005848, allocations: 4.594 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.145e-06/0.005856, allocations: 4.859 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005856, allocations: 0.875 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.005992, allocations: 19.94 kB / 485.1 MB, free: 1.613 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.0001188/0.006111, allocations: 111.9 kB / 485.2 MB, free: 1.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.006171, allocations: 28.78 kB / 485.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.006173, allocations: 0 / 485.3 MB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.006186, allocations: 18.16 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.006288, allocations: 15.33 kB / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.006716, allocations: 178.2 kB / 485.5 MB, free: 1.258 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.006751, allocations: 59.34 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.421e-05/0.006775, allocations: 9.125 kB / 485.5 MB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.006818, allocations: 55.38 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.006819, allocations: 0.5 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of Templates: time 0.002185/0.009004, allocations: 0.7502 MB / 486.3 MB, free: 468 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5074438732117414]