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.0007978/0.0007978, allocations: 72.5 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.0008676/0.0008676, allocations: 177.9 kB / 23.21 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.9037/0.9037, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7069/0.7069, allocations: 154.5 MB / 414.5 MB, free: 0.8203 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_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.543e-06/1.543e-06, allocations: 0 / 0.6193 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.597e-05, allocations: 5.938 kB / 0.6193 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001624/0.00165, allocations: 1.296 MB / 0.6205 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.00243, allocations: 0.5331 MB / 0.6211 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.002454, allocations: 0 / 0.6211 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.002473, allocations: 0 / 0.6211 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.00251, allocations: 11.92 kB / 0.6211 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.002961, allocations: 146 kB / 0.6212 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.003025, allocations: 27.84 kB / 0.6212 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.003067, allocations: 4 kB / 0.6212 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.296e-05/0.00312, allocations: 7.984 kB / 0.6213 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.003174, allocations: 8 kB / 0.6213 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.003187, allocations: 0 / 0.6213 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.003456, allocations: 271.4 kB / 0.6215 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.003477, allocations: 11.92 kB / 0.6215 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.003496, allocations: 7.984 kB / 0.6215 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.003697, allocations: 159.5 kB / 0.6217 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.003699, allocations: 0 / 0.6217 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.102e-06/0.0037, allocations: 0 / 0.6217 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.003704, allocations: 0 / 0.6217 GB, free: 9.645 MB / 0.5417 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.0003418/0.004045, allocations: 294 kB / 0.622 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.004082, allocations: 9.469 kB / 0.622 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.004118, allocations: 0.9375 kB / 0.622 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.004201, allocations: 113.7 kB / 0.6221 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.004212, allocations: 4.312 kB / 0.6221 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.004234, allocations: 8.359 kB / 0.6221 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.004343, allocations: 67.89 kB / 0.6222 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.00435, allocations: 4.188 kB / 0.6222 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.004359, allocations: 384 / 0.6222 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004364, allocations: 4.375 kB / 0.6222 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.004399, allocations: 11.94 kB / 0.6222 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.004515, allocations: 105.4 kB / 0.6223 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.004685, allocations: 46.5 kB / 0.6223 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.004709, allocations: 12.86 kB / 0.6223 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.00473, allocations: 4 kB / 0.6223 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.004748, allocations: 30.56 kB / 0.6224 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.004749, allocations: 0 / 0.6224 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0004948/0.005244, allocations: 245.2 kB / 0.6226 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.005274, allocations: 55.34 kB / 0.6227 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.083e-05/0.005325, allocations: 97.86 kB / 0.6228 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.005337, allocations: 25.7 kB / 0.6228 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.005362, allocations: 80.14 kB / 0.6229 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.00539, allocations: 27.83 kB / 0.6229 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.005417, allocations: 17.72 kB / 0.6229 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.005496, allocations: 318.8 kB / 0.6232 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.005516, allocations: 11.98 kB / 0.6232 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.005533, allocations: 12 kB / 0.6232 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.005576, allocations: 36.8 kB / 0.6233 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.005577, allocations: 0 / 0.6233 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.827e-05/0.005645, allocations: 69.64 kB / 0.6233 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005657, allocations: 4 kB / 0.6233 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.005662, allocations: 0 / 0.6233 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005673, allocations: 0 / 0.6233 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.005709, allocations: 15.98 kB / 0.6233 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.005715, allocations: 3.938 kB / 0.6234 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.011e-05/0.005725, allocations: 0 / 0.6234 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.005729, allocations: 0 / 0.6234 GB, free: 7.734 MB / 0.5417 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 5.613e-05/0.005785, allocations: 122.8 kB / 0.6235 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-06/0.00579, allocations: 0 / 0.6235 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.359e-05/0.005883, allocations: 74.31 kB / 0.6235 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005885, allocations: 0 / 0.6235 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.005889, allocations: 3.938 kB / 0.6235 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005892, allocations: 0 / 0.6235 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.006112, allocations: 259.1 kB / 0.6238 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.006115, allocations: 3.984 kB / 0.6238 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.006156, allocations: 15.98 kB / 0.6238 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006158, allocations: 3.938 kB / 0.6238 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.006165, allocations: 7.969 kB / 0.6238 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006166, allocations: 4.188 kB / 0.6238 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.006168, allocations: 4 kB / 0.6238 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.006299, allocations: 184.3 kB / 0.624 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.006313, allocations: 0 / 0.624 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.006325, allocations: 7.938 kB / 0.624 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.006367, allocations: 4 kB / 0.624 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.006382, allocations: 7.984 kB / 0.624 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.006386, allocations: 0 / 0.624 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.373e-05/0.00641, allocations: 79.28 kB / 0.6241 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00641, allocations: 0 / 0.6241 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001619/0.006572, allocations: 31.94 kB / 0.6241 GB, free: 6.855 MB / 0.5417 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.0002874/0.006859, allocations: 119.1 kB / 0.6242 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.901e-05/0.006938, allocations: 31.94 kB / 0.6243 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.00694, allocations: 0 / 0.6243 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.006967, allocations: 23.92 kB / 0.6243 GB, free: 6.676 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.00712, allocations: 4 kB / 0.6243 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.007434, allocations: 191.3 kB / 0.6245 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.007476, allocations: 63.34 kB / 0.6245 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.007495, allocations: 12.5 kB / 0.6246 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.007495, allocations: 0 / 0.6246 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of Templates: time 0.001671/0.009166, allocations: 0.8253 MB / 0.6254 GB, free: 5.535 MB / 0.5417 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 os._exit(0), Time elapsed: 5.1032601073384285] Failed to read output from testmodel.py, exit status != 0: 0.01399484183639288 0.021858814 0.016517793 Calling exit ...