Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0009878/0.0009878, 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.001855/0.001855, 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.9512/0.9512, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7854/0.7854, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/1.065e-05, allocations: 2.312 kB / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001539/0.001549, allocations: 1.516 MB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.002276, allocations: 0.605 MB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.0023, allocations: 0 / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.002323, allocations: 5.094 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.002365, allocations: 6.453 kB / 482.1 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.002725, allocations: 165.3 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.263e-05/0.002788, allocations: 53.38 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.002818, allocations: 4 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.002883, allocations: 37.33 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.206e-05/0.002915, allocations: 23.95 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.002928, allocations: 4 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.003181, allocations: 268.2 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.003199, allocations: 15.92 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.003219, allocations: 17.42 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.003408, allocations: 183.3 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.00341, allocations: 0 / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00341, allocations: 0 / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.816e-06/0.003413, allocations: 4.781 kB / 482.9 MB, free: 4.051 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003128/0.003726, allocations: 300.2 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.003753, allocations: 9.125 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.00378, allocations: 8.922 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.751e-05/0.003848, allocations: 105.8 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.003866, allocations: 12.94 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.003885, allocations: 7 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.004016, allocations: 137.5 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.004024, allocations: 4.172 kB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004032, allocations: 4.969 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.004038, allocations: 4.375 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.004068, allocations: 15.94 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.004327, allocations: 213.2 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.699e-05/0.004414, allocations: 52.39 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.004431, allocations: 16.86 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.004444, allocations: 4.875 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.004465, allocations: 38.48 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.004467, allocations: 0 / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006522/0.005119, allocations: 452.4 kB / 484.2 MB, free: 2.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.005143, allocations: 52.03 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.642e-05/0.00519, allocations: 110.6 kB / 484.4 MB, free: 2.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.0052, allocations: 26.33 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.005227, allocations: 88.08 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.005252, allocations: 40.41 kB / 484.6 MB, free: 2.211 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.005556, allocations: 37.69 kB / 484.6 MB, free: 2.168 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.005626, allocations: 315.4 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.005642, allocations: 8.75 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.005658, allocations: 15.98 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.005701, allocations: 46.08 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.005702, allocations: 0 / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7e-05/0.005772, allocations: 76.17 kB / 485 MB, free: 1.703 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.005783, allocations: 4.906 kB / 485 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.005786, allocations: 0 / 485 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005797, allocations: 0 / 485 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.00587, allocations: 28.73 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.005873, allocations: 4.562 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.005894, allocations: 4 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.005899, allocations: 1.312 kB / 485.1 MB, free: 1.664 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 (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 5.295e-05/0.005952, allocations: 113.8 kB / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.005971, allocations: 15.92 kB / 485.2 MB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.006069, allocations: 89.81 kB / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.00607, allocations: 1.688 kB / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006071, allocations: 0 / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006075, allocations: 0 / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.006273, allocations: 238.6 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006274, allocations: 0 / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.00634, allocations: 24.64 kB / 485.6 MB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.006342, allocations: 5.234 kB / 485.6 MB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.006349, allocations: 4 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006351, allocations: 4 kB / 485.6 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.006351, allocations: 3.938 kB / 485.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.006477, allocations: 180.2 kB / 485.8 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.006483, allocations: 9.672 kB / 485.8 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.006492, allocations: 0 / 485.8 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.332e-05/0.006535, allocations: 11.98 kB / 485.8 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.006548, allocations: 7.984 kB / 485.8 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.006554, allocations: 4 kB / 485.8 MB, free: 0.918 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.277e-06/0.006563, allocations: 9.359 kB / 485.8 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006563, allocations: 1.125 kB / 485.8 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.006703, allocations: 35.88 kB / 485.8 MB, free: 0.8711 MB / 442.7 MB 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.0001248/0.006828, allocations: 128.9 kB / 486 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.006897, allocations: 41.34 kB / 486 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.006899, allocations: 0 / 486 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.006923, allocations: 33.31 kB / 486 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.00704, allocations: 16.64 kB / 486 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.00744, allocations: 234.6 kB / 486.3 MB, free: 420 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.00747, allocations: 63.34 kB / 486.3 MB, free: 336 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.262e-05/0.007503, allocations: 11.61 kB / 486.3 MB, free: 328 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.007556, allocations: 71.36 kB / 486.4 MB, free: 256 kB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007556, allocations: 0 / 486.4 MB, free: 256 kB / 442.7 MB Notification: Performance of Templates: time 0.002491/0.01005, allocations: 1.291 MB / 487.7 MB, free: 15.1 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5542099508456886]