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.001908/0.001908, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001747/0.001747, allocations: 166.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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-531:190: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-531:198: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.197/1.197, allocations: 154.6 MB / 413.7 MB, free: 5.293 MB / 382.1 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.292e-06/1.292e-06, allocations: 0 / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.209e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00216/0.002182, allocations: 1.294 MB / 0.6198 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.003158, allocations: 0.5448 MB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.003184, allocations: 0 / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.003206, allocations: 7.922 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.904e-05/0.003235, allocations: 0 / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.003753, allocations: 147.2 kB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.003812, allocations: 19.91 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.003853, allocations: 12 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.003904, allocations: 11.94 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.003945, allocations: 7.984 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.003959, allocations: 0 / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.004387, allocations: 271.4 kB / 0.6208 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.0044, allocations: 3.984 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.00442, allocations: 8 kB / 0.6208 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.004697, allocations: 159.4 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004699, allocations: 0 / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.01e-07/0.0047, allocations: 0 / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.004708, allocations: 0 / 0.6209 GB, free: 2.172 MB / 0.5294 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.0004159/0.005124, allocations: 290 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.005162, allocations: 13.47 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.005196, allocations: 0.9375 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.005301, allocations: 105.8 kB / 0.6213 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.005308, allocations: 4.375 kB / 0.6213 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.005331, allocations: 4.375 kB / 0.6213 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.005456, allocations: 67.95 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.005464, allocations: 192 / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.005471, allocations: 384 / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.005475, allocations: 8.25 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.057e-05/0.005516, allocations: 19.92 kB / 0.6214 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.005658, allocations: 105.3 kB / 0.6215 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.005837, allocations: 42.61 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.005872, allocations: 16.95 kB / 0.6216 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.005889, allocations: 3.984 kB / 0.6216 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.005918, allocations: 34.56 kB / 0.6216 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005919, allocations: 3.938 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005704/0.00649, allocations: 229.5 kB / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.006528, allocations: 59.34 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.006601, allocations: 101.8 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.006619, allocations: 29.7 kB / 0.622 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.006655, allocations: 80.14 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.006682, allocations: 15.86 kB / 0.6221 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.006716, allocations: 21.72 kB / 0.6221 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.006856, allocations: 318.8 kB / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.006883, allocations: 8 kB / 0.6225 GB, free: 432 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.006909, allocations: 15.98 kB / 0.6225 GB, free: 416 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.83e-05/0.006967, allocations: 28.86 kB / 0.6225 GB, free: 384 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.006967, allocations: 0 / 0.6225 GB, free: 384 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.983e-05/0.007067, allocations: 69.58 kB / 0.6226 GB, free: 308 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.007082, allocations: 12 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.007085, allocations: 0 / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.007098, allocations: 0 / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.007146, allocations: 8 kB / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.007152, allocations: 3.938 kB / 0.6226 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.007175, allocations: 8 kB / 0.6226 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.00718, allocations: 0 / 0.6226 GB, free: 276 kB / 0.5294 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 8.168e-05/0.007262, allocations: 114.8 kB / 0.6227 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.007272, allocations: 0 / 0.6227 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.007418, allocations: 82.03 kB / 0.6228 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.007422, allocations: 8 kB / 0.6228 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.007428, allocations: 3.938 kB / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.007431, allocations: 0 / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.007738, allocations: 263 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.00774, allocations: 0 / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.007803, allocations: 12 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007805, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.007816, allocations: 7.875 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007817, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.00782, allocations: 7.938 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.008016, allocations: 184.3 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.00804, allocations: 12.02 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.008053, allocations: 3.938 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.008126, allocations: 4 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.00814, allocations: 0 / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.008147, allocations: 4 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.00819, allocations: 83.27 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.00819, allocations: 0 / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002396/0.008429, allocations: 23.88 kB / 0.6234 GB, free: 15.39 MB / 0.545 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.0001769/0.008606, allocations: 119.2 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.008704, allocations: 35.98 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.008706, allocations: 0 / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.008736, allocations: 16 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.008945, allocations: 4 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.009319, allocations: 178.2 kB / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.009376, allocations: 63.34 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.009404, allocations: 7.984 kB / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.009427, allocations: 12.5 kB / 0.6238 GB, free: 14.91 MB / 0.545 GB Notification: Performance of SimCode: time 4e-07/0.009427, allocations: 0 / 0.6238 GB, free: 14.91 MB / 0.545 GB Notification: Performance of Templates: time 0.00304/0.01247, allocations: 0.6416 MB / 0.6244 GB, free: 14.32 MB / 0.545 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.653392042964697] Failed to read output from testmodel.py, exit status != 0: 0.02102223038673401 0.035165839000000004 0.027467038000000003 Calling exit ...