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.0006493/0.0006493, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008559/0.001505, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001088/0.001088, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002454, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9164/0.9164, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07975/0.9961, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7333/0.7333, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2188/0.9521, allocations: 49.14 MB / 448.6 MB, free: 5.906 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.182e-06/1.182e-06, allocations: 0 / 450 MB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.612e-05, allocations: 6 kB / 450 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001897/0.001914, allocations: 1.372 MB / 451.3 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007138/0.002627, allocations: 0.5757 MB / 451.9 MB, free: 2.676 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.002644, allocations: 4 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.145e-06/0.002652, allocations: 6 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.888e-05/0.002671, allocations: 1.969 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.003013, allocations: 141.7 kB / 452.1 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.003073, allocations: 27.02 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.779e-05/0.003101, allocations: 0.6562 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.003158, allocations: 14.97 kB / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.003206, allocations: 12.97 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.003217, allocations: 0.875 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003394/0.006611, allocations: 270 kB / 452.4 MB, free: 2.234 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.006628, allocations: 7.938 kB / 452.4 MB, free: 2.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.006645, allocations: 8.875 kB / 452.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.006852, allocations: 123.6 kB / 452.5 MB, free: 2.098 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.006861, allocations: 5.281 kB / 452.5 MB, free: 2.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006862, allocations: 0 / 452.5 MB, free: 2.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.00687, allocations: 0 / 452.5 MB, free: 2.094 MB / 426.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.0003251/0.007195, allocations: 275 kB / 452.8 MB, free: 1.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.007224, allocations: 12.03 kB / 452.8 MB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.007251, allocations: 2.219 kB / 452.8 MB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.007336, allocations: 121.7 kB / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.007344, allocations: 384 / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.007367, allocations: 5.312 kB / 452.9 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.381e-05/0.00744, allocations: 60.64 kB / 453 MB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.007447, allocations: 0.75 kB / 453 MB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.007454, allocations: 4.375 kB / 453 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.007459, allocations: 1.562 kB / 453 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.007481, allocations: 16.69 kB / 453 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.506e-05/0.007566, allocations: 64.98 kB / 453.1 MB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.00769, allocations: 39.56 kB / 453.1 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.007707, allocations: 13.98 kB / 453.1 MB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.007723, allocations: 5.031 kB / 453.1 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.007744, allocations: 34.56 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.007745, allocations: 1.188 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004353/0.00818, allocations: 219.4 kB / 453.4 MB, free: 1.117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.008202, allocations: 51.41 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.008255, allocations: 107.3 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.008268, allocations: 29.64 kB / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.008291, allocations: 84.98 kB / 453.7 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.008316, allocations: 19.78 kB / 453.7 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.008345, allocations: 18.88 kB / 453.7 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.00842, allocations: 326.8 kB / 454 MB, free: 456 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.008431, allocations: 7.938 kB / 454 MB, free: 448 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-06/0.008441, allocations: 4.625 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.008474, allocations: 20.84 kB / 454 MB, free: 420 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.008474, allocations: 0.5625 kB / 454 MB, free: 420 kB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.678e-05/0.008531, allocations: 49.69 kB / 454.1 MB, free: 364 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.008542, allocations: 11.03 kB / 454.1 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.008547, allocations: 4.062 kB / 454.1 MB, free: 352 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.008557, allocations: 2.719 kB / 454.1 MB, free: 352 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.008598, allocations: 19.92 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.008601, allocations: 0 / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.008616, allocations: 3.938 kB / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.008619, allocations: 0 / 454.1 MB, free: 328 kB / 426.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.933e-05/0.008668, allocations: 114.6 kB / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.008678, allocations: 4 kB / 454.2 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.03e-05/0.008758, allocations: 54.67 kB / 454.3 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.00876, allocations: 0 / 454.3 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.008762, allocations: 7.938 kB / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.008765, allocations: 1.031 kB / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.008946, allocations: 207.6 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008948, allocations: 4.656 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.008991, allocations: 15.92 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.009005, allocations: 8.484 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.009006, allocations: 0.6875 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.009014, allocations: 8 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.009016, allocations: 4.5 kB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009017, allocations: 0.5938 kB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.009124, allocations: 157.2 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.009134, allocations: 3.984 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003055/0.01219, allocations: 0.875 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.0122, allocations: 8.125 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01221, allocations: 8.469 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.04e-05/0.01222, allocations: 8.859 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01222, allocations: 1.688 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000206/0.01242, allocations: 35.86 kB / 454.8 MB, free: 15.61 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.0001415/0.01257, allocations: 112.2 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.584e-05/0.01263, allocations: 37.73 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.01264, allocations: 0 / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.01266, allocations: 21.41 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.01279, allocations: 8.625 kB / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.01378, allocations: 162.7 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.01381, allocations: 63.2 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.834e-05/0.01384, allocations: 7.406 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.01388, allocations: 51.38 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.01388, allocations: 3.938 kB / 455.2 MB, free: 15.1 MB / 442.7 MB Notification: Performance of Templates: time 0.005384/0.01927, allocations: 0.8856 MB / 456.1 MB, free: 14.32 MB / 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.3884632978588343]