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.001365/0.001365, allocations: 88.72 kB / 19.44 MB, free: 348 kB / 13.93 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.001508/0.001508, allocations: 157.7 kB / 22.75 MB, free: 1.676 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 1.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.228/1.228, allocations: 154.8 MB / 414.4 MB, free: 428 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 178] 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.663e-06/1.663e-06, allocations: 0 / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.115e-05, allocations: 9.078 kB / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00265/0.002681, allocations: 1.294 MB / 0.5211 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.003915, allocations: 0.5327 MB / 0.5216 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.003943, allocations: 7.125 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.003967, allocations: 0 / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.004011, allocations: 3.984 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.004724, allocations: 147.2 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.004791, allocations: 23.92 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.004825, allocations: 0 / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.004887, allocations: 16.48 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.004929, allocations: 7.984 kB / 0.5218 GB, free: 248 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.004944, allocations: 4.562 kB / 0.5218 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004975/0.005441, allocations: 268.1 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.005459, allocations: 3.984 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.005492, allocations: 8.672 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.0058, allocations: 159.4 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.005803, allocations: 1.469 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.005805, allocations: 0 / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.00581, allocations: 4 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB 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.0006468/0.006457, allocations: 278 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.006499, allocations: 8.969 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.006557, allocations: 8.891 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.006687, allocations: 111.1 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.0067, allocations: 384 / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.006727, allocations: 4.375 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.006867, allocations: 71.89 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.006876, allocations: 1.406 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.006885, allocations: 384 / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006889, allocations: 4.312 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/0.006934, allocations: 16.75 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.0071, allocations: 105.3 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.007328, allocations: 47.88 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.007364, allocations: 12.86 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.007386, allocations: 4 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.007419, allocations: 35.84 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.00742, allocations: 4 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006513/0.008072, allocations: 225.2 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.008117, allocations: 60.12 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.008207, allocations: 97.86 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.008226, allocations: 27.55 kB / 0.5233 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.008275, allocations: 80.14 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.008307, allocations: 23.84 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.008349, allocations: 17.72 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.008512, allocations: 318.8 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.008538, allocations: 10.06 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.008562, allocations: 12 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.00863, allocations: 40.92 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.008631, allocations: 4 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000118/0.008749, allocations: 65.64 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.008761, allocations: 5.094 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.008767, allocations: 4.062 kB / 0.5239 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.008788, allocations: 3.984 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.008842, allocations: 12.78 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.008849, allocations: 3.938 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.008869, allocations: 4.5 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.008874, allocations: 0.875 kB / 0.5239 GB, free: 13.91 MB / 0.4948 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 (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 9.179e-05/0.008966, allocations: 113.8 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.008985, allocations: 9.219 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.009136, allocations: 69.8 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.009138, allocations: 0 / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.009144, allocations: 4.438 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.009148, allocations: 4 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.009483, allocations: 260.7 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.009484, allocations: 0 / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.009545, allocations: 11.94 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.009551, allocations: 6.438 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.00956, allocations: 3.938 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.009561, allocations: 0 / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.009562, allocations: 0 / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.009783, allocations: 184.3 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.009805, allocations: 4.031 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.009819, allocations: 3.938 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.009898, allocations: 14.64 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.009913, allocations: 0.7031 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.009924, allocations: 8 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.009972, allocations: 79.27 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.009972, allocations: 4 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002665/0.01024, allocations: 27.86 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB 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.0001977/0.01044, allocations: 116 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.01054, allocations: 37.02 kB / 0.5248 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.01055, allocations: 0 / 0.5248 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.01058, allocations: 19.94 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.0108, allocations: 7.188 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.01123, allocations: 175.1 kB / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.065e-05/0.0113, allocations: 63.34 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.01133, allocations: 7.656 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.01136, allocations: 12.5 kB / 0.5251 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of SimCode: time 3e-07/0.01136, allocations: 0 / 0.5251 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.003387/0.01474, allocations: 0.6803 MB / 0.5258 GB, free: 11.99 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.737795428023674]