Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0009368/0.0009368, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.000945/0.000945, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8573/0.8573, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7443/0.7443, allocations: 154.5 MB / 414.5 MB, free: 0.832 MB / 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 179] 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6193 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.723e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002359/0.002386, allocations: 1.292 MB / 0.6205 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.003382, allocations: 0.5409 MB / 0.6211 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.003415, allocations: 0 / 0.6211 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.003437, allocations: 0 / 0.6211 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.003487, allocations: 7.938 kB / 0.6211 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.004144, allocations: 150.6 kB / 0.6212 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.857e-05/0.004223, allocations: 19.86 kB / 0.6212 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.00427, allocations: 4 kB / 0.6212 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.004333, allocations: 11.98 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.004394, allocations: 11.92 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.004411, allocations: 0 / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004114/0.004822, allocations: 267.5 kB / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.004841, allocations: 7.938 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.004862, allocations: 4 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.005142, allocations: 163.5 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.005147, allocations: 3.984 kB / 0.6217 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005148, allocations: 0 / 0.6217 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.005152, allocations: 0 / 0.6217 GB, free: 10.6 MB / 0.5886 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.000429/0.005581, allocations: 278 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.005631, allocations: 13.47 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.005674, allocations: 4.891 kB / 0.622 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.00577, allocations: 105.8 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.005783, allocations: 4.359 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.005808, allocations: 8.375 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.005943, allocations: 59.97 kB / 0.6221 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.005952, allocations: 192 / 0.6221 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.005966, allocations: 8.359 kB / 0.6221 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.005971, allocations: 384 / 0.6221 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.006018, allocations: 15.88 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.006186, allocations: 105.4 kB / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.006435, allocations: 46.55 kB / 0.6223 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.006476, allocations: 16.86 kB / 0.6223 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.00651, allocations: 4 kB / 0.6223 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.006537, allocations: 38.5 kB / 0.6224 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.006538, allocations: 0 / 0.6224 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0007531/0.007291, allocations: 237.2 kB / 0.6226 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.007329, allocations: 59.34 kB / 0.6226 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.007393, allocations: 93.86 kB / 0.6227 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.007406, allocations: 25.7 kB / 0.6228 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.007438, allocations: 88.08 kB / 0.6228 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.007472, allocations: 23.78 kB / 0.6229 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.007514, allocations: 21.67 kB / 0.6229 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.007615, allocations: 314.8 kB / 0.6232 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.007642, allocations: 15.98 kB / 0.6232 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.007666, allocations: 12 kB / 0.6232 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.007725, allocations: 37 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.007726, allocations: 0 / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.435e-05/0.00782, allocations: 65.61 kB / 0.6233 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.007836, allocations: 8 kB / 0.6233 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.007841, allocations: 0 / 0.6233 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.007856, allocations: 0 / 0.6233 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.007903, allocations: 11.98 kB / 0.6233 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.007911, allocations: 7.938 kB / 0.6233 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.007928, allocations: 8 kB / 0.6233 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.007933, allocations: 0 / 0.6233 GB, free: 8.691 MB / 0.5886 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 6.737e-05/0.008001, allocations: 110.8 kB / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-06/0.00801, allocations: 0 / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.008142, allocations: 81.73 kB / 0.6235 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008144, allocations: 0 / 0.6235 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.008149, allocations: 3.938 kB / 0.6235 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.008153, allocations: 0 / 0.6235 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.008426, allocations: 255.1 kB / 0.6238 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008428, allocations: 3.938 kB / 0.6238 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.008484, allocations: 20.02 kB / 0.6238 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.008486, allocations: 0 / 0.6238 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.008495, allocations: 3.938 kB / 0.6238 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.008498, allocations: 4 kB / 0.6238 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008499, allocations: 0 / 0.6238 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.008671, allocations: 172.6 kB / 0.624 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.008694, allocations: 8.016 kB / 0.624 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.008709, allocations: 3.938 kB / 0.624 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.008773, allocations: 4 kB / 0.624 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.008793, allocations: 8.438 kB / 0.624 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.008799, allocations: 8 kB / 0.624 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.998e-05/0.008829, allocations: 87.33 kB / 0.6241 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.008829, allocations: 7.875 kB / 0.6241 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002716/0.009101, allocations: 15.94 kB / 0.6241 GB, free: 7.832 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001719/0.009273, allocations: 127.1 kB / 0.6242 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.009375, allocations: 24 kB / 0.6243 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.009377, allocations: 3.938 kB / 0.6243 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.009403, allocations: 19.98 kB / 0.6243 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.009643, allocations: 6.578 kB / 0.6243 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.01004, allocations: 203.3 kB / 0.6245 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.37e-05/0.01009, allocations: 63.34 kB / 0.6245 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.01012, allocations: 12.5 kB / 0.6246 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of SimCode: time 7.02e-07/0.01012, allocations: 0 / 0.6246 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of Templates: time 0.002264/0.01238, allocations: 0.8148 MB / 0.6253 GB, free: 6.5 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.587784149684012] Failed to read output from testmodel.py, exit status != 0: 0.0194161431863904 0.026906995000000003 0.019878622000000002 Calling exit ...