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.0009614/0.0009614, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009747/0.0009747, allocations: 165 kB / 23.02 MB, free: 1.547 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.9327/0.9327, allocations: 177.1 MB / 203.4 MB, free: 5.633 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-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 0.8093/0.8093, allocations: 154.8 MB / 414.7 MB, free: 480 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 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_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.853e-06/1.853e-06, allocations: 0 / 0.5206 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.232e-05, allocations: 3.156 kB / 0.5206 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003022/0.003054, allocations: 1.523 MB / 0.522 GB, free: 460 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009745/0.004029, allocations: 0.5946 MB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.00407, allocations: 0 / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.004107, allocations: 6.344 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.823e-05/0.004165, allocations: 11.86 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.004879, allocations: 163.2 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.004975, allocations: 53.38 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.005019, allocations: 7.984 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.005096, allocations: 23.98 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.005139, allocations: 23.89 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.005156, allocations: 4.562 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.00555, allocations: 268.4 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.005575, allocations: 15.97 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.00561, allocations: 19.92 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.005923, allocations: 184.4 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.005926, allocations: 0 / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.005927, allocations: 4 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.005932, allocations: 0.6875 kB / 0.5234 GB, free: 15.09 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.0005543/0.006487, allocations: 421.2 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.006532, allocations: 8.031 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.006597, allocations: 12.89 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.006701, allocations: 114.2 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.006731, allocations: 8.312 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.006766, allocations: 12.38 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.00698, allocations: 131.5 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.006991, allocations: 192 / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.007004, allocations: 4.359 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.007016, allocations: 5.062 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.007076, allocations: 31.8 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.007521, allocations: 312.8 kB / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.007679, allocations: 76.27 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.007711, allocations: 19.62 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.007732, allocations: 0 / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.007761, allocations: 45.38 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.007762, allocations: 0.7812 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0009369/0.008699, allocations: 458.1 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.008727, allocations: 51.41 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.008813, allocations: 161.9 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.008829, allocations: 29.7 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.008879, allocations: 130.9 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.008918, allocations: 43.78 kB / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.008968, allocations: 39.95 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.009092, allocations: 0.4883 MB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.959e-05/0.009132, allocations: 16.48 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.009168, allocations: 23.48 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.009248, allocations: 47.69 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.00925, allocations: 5.5 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001428/0.009393, allocations: 97.69 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.009407, allocations: 8 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.009411, allocations: 0 / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.009428, allocations: 0.5 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.009549, allocations: 25.02 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.009554, allocations: 320 / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.009587, allocations: 4.969 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.009597, allocations: 8 kB / 0.5261 GB, free: 12.04 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 9.484e-05/0.009692, allocations: 169.1 kB / 0.5263 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.009725, allocations: 8 kB / 0.5263 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.009904, allocations: 112.8 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.009906, allocations: 0 / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.009911, allocations: 4 kB / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.009914, allocations: 0 / 0.5264 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.01025, allocations: 349.3 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01026, allocations: 4 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.01036, allocations: 19.98 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01036, allocations: 4 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01037, allocations: 6.438 kB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01037, allocations: 3.984 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01038, allocations: 192 / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.01061, allocations: 262 kB / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.01062, allocations: 7.984 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01064, allocations: 7.984 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.01071, allocations: 5.125 kB / 0.527 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.01073, allocations: 7.984 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01074, allocations: 0 / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.01078, allocations: 132 kB / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01078, allocations: 0 / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002836/0.01106, allocations: 47.8 kB / 0.5272 GB, free: 10.85 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.0002039/0.01126, allocations: 128.2 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.01142, allocations: 66.47 kB / 0.5274 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01142, allocations: 4 kB / 0.5274 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.01147, allocations: 46.34 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.01173, allocations: 8.562 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.01245, allocations: 271.5 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.489e-05/0.01249, allocations: 59.36 kB / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.932e-05/0.01254, allocations: 11.41 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.01257, allocations: 16.5 kB / 0.5278 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/0.01258, allocations: 0 / 0.5278 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.003516/0.01609, allocations: 1.156 MB / 0.5289 GB, free: 9.176 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: 3.9368222169578075]