Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001916/0.001916, allocations: 84.08 kB / 19.44 MB, free: 332 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.001988/0.001988, allocations: 165.7 kB / 22.76 MB, free: 1.648 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.357/1.357, allocations: 154.8 MB / 414.4 MB, free: 472 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.5199 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.516e-05, allocations: 5.062 kB / 0.5199 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003401/0.003436, allocations: 1.494 MB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.004912, allocations: 0.5916 MB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.004948, allocations: 0 / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.004979, allocations: 13.98 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.005044, allocations: 7.922 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.00568, allocations: 156 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.005811, allocations: 55.84 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.005859, allocations: 4.703 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.005971, allocations: 27.91 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.00603, allocations: 24.44 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.006054, allocations: 4.75 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005189/0.006573, allocations: 275.4 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.006601, allocations: 13.36 kB / 0.5225 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.006642, allocations: 15.98 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.00702, allocations: 187.3 kB / 0.5227 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.007023, allocations: 0 / 0.5227 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.007024, allocations: 0.7812 kB / 0.5227 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.007029, allocations: 0 / 0.5227 GB, free: 15.45 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007296/0.007759, allocations: 420.6 kB / 0.5231 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.007802, allocations: 15.14 kB / 0.5231 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.007858, allocations: 8.891 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.007998, allocations: 120.5 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.008034, allocations: 8.375 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.008064, allocations: 8.375 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.008343, allocations: 121.6 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.008356, allocations: 192 / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.008376, allocations: 8.375 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.008381, allocations: 0.875 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.008625, allocations: 48.88 kB / 0.5234 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.00927, allocations: 316.2 kB / 0.5237 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.009553, allocations: 76 kB / 0.5238 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.009656, allocations: 39.48 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.009683, allocations: 0.9688 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.009731, allocations: 41.39 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.009733, allocations: 0 / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001738/0.01147, allocations: 0.5022 MB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.01152, allocations: 51.41 kB / 0.5244 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.01165, allocations: 162.6 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.01168, allocations: 29.64 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.01177, allocations: 136.5 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.01182, allocations: 43.64 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.01188, allocations: 31.38 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002766/0.01216, allocations: 0.4961 MB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.01227, allocations: 25.14 kB / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01239, allocations: 39.17 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.0126, allocations: 68.48 kB / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.0126, allocations: 0 / 0.5254 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002866/0.01289, allocations: 119 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01291, allocations: 4 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01291, allocations: 4.312 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.01293, allocations: 0.7188 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.01308, allocations: 33.7 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01308, allocations: 0 / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.01313, allocations: 0 / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01314, allocations: 7.984 kB / 0.5255 GB, free: 12.25 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 (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 0.0001471/0.01328, allocations: 174 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.01332, allocations: 4 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.01367, allocations: 117.7 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01367, allocations: 3.938 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.01368, allocations: 6.734 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.01368, allocations: 0 / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.01435, allocations: 381.3 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01435, allocations: 0 / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.01451, allocations: 19.98 kB / 0.5262 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01452, allocations: 7.938 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.01453, allocations: 2.125 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01453, allocations: 0 / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01453, allocations: 3.938 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.01507, allocations: 295.8 kB / 0.5265 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.01508, allocations: 4 kB / 0.5265 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.0151, allocations: 4.938 kB / 0.5265 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01521, allocations: 7.984 kB / 0.5265 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.01524, allocations: 2.375 kB / 0.5265 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.01525, allocations: 11.98 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.01533, allocations: 123.2 kB / 0.5267 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01533, allocations: 0 / 0.5267 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003321/0.01566, allocations: 43.81 kB / 0.5267 GB, free: 11 MB / 0.4948 GB 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.0002828/0.01595, allocations: 135.9 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.01628, allocations: 89.44 kB / 0.5269 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01628, allocations: 0 / 0.5269 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.01641, allocations: 54.95 kB / 0.527 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.01668, allocations: 16.48 kB / 0.527 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.01735, allocations: 274.5 kB / 0.5272 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.01746, allocations: 84.02 kB / 0.5273 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.802e-05/0.01752, allocations: 15.22 kB / 0.5273 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.01756, allocations: 12.5 kB / 0.5273 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01756, allocations: 1 kB / 0.5273 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.005063/0.02262, allocations: 1.153 MB / 0.5285 GB, free: 9.262 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.109566658036783]