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.001433/0.001433, allocations: 92.7 kB / 19.44 MB, free: 324 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.001584/0.001584, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.223/1.223, allocations: 154.8 MB / 414.4 MB, free: 456 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 2.184e-06/2.184e-06, allocations: 0 / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.571e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003839/0.003874, allocations: 1.479 MB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.005517, allocations: 0.5594 MB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.005557, allocations: 1.875 kB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.005596, allocations: 3.938 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.557e-05/0.005671, allocations: 11.92 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.006471, allocations: 160.8 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.006599, allocations: 51.78 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.006645, allocations: 9.453 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.006749, allocations: 27.97 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.006853, allocations: 24.03 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.006875, allocations: 4 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.007536, allocations: 280.3 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.007561, allocations: 8 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.007616, allocations: 23.91 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.008047, allocations: 180.4 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.008052, allocations: 0 / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.008053, allocations: 1 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.008058, allocations: 0 / 0.5226 GB, free: 15.49 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.0008839/0.008942, allocations: 326.6 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.008988, allocations: 8.031 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.009067, allocations: 13.39 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.009225, allocations: 114.7 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.009259, allocations: 4.375 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.009306, allocations: 12.38 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.009724, allocations: 130.8 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.00974, allocations: 192 / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.009756, allocations: 0.875 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.009771, allocations: 8.359 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.01013, allocations: 49.69 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.01091, allocations: 262.1 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.01136, allocations: 78.47 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.01155, allocations: 36.77 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.01159, allocations: 5.594 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.01164, allocations: 34.56 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.01164, allocations: 4 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.002442/0.01409, allocations: 0.4953 MB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.01414, allocations: 55.34 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.01426, allocations: 101.9 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.01429, allocations: 30.72 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.01437, allocations: 88.08 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.01443, allocations: 43.64 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.01452, allocations: 30.66 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.01473, allocations: 322.8 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.01493, allocations: 31.23 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.01512, allocations: 39.22 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.01554, allocations: 72.77 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01555, allocations: 0 / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005349/0.01608, allocations: 121.7 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.0161, allocations: 10.81 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.01611, allocations: 4 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.01614, allocations: 0 / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.01637, allocations: 27.92 kB / 0.5251 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.01638, allocations: 0 / 0.5251 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.01649, allocations: 11.98 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.0165, allocations: 4 kB / 0.5251 GB, free: 12.74 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.0001414/0.01665, allocations: 119.2 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.01671, allocations: 8 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005594/0.01727, allocations: 130.4 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01727, allocations: 0.8438 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01728, allocations: 3.938 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.01728, allocations: 0.5 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.01816, allocations: 331 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01816, allocations: 0 / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.01839, allocations: 23.98 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.0184, allocations: 4 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.01841, allocations: 11.88 kB / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01841, allocations: 2.438 kB / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01842, allocations: 0 / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.01919, allocations: 251.6 kB / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.0192, allocations: 8.016 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.01923, allocations: 6.109 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.01941, allocations: 4 kB / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.01945, allocations: 11.98 kB / 0.526 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.01946, allocations: 4 kB / 0.526 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.065e-05/0.01954, allocations: 83.27 kB / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01954, allocations: 0.75 kB / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004973/0.02003, allocations: 39.81 kB / 0.5261 GB, free: 11.67 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.0003368/0.02037, allocations: 141.4 kB / 0.5262 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.02082, allocations: 71.95 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02082, allocations: 4 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.02103, allocations: 46.75 kB / 0.5263 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.0215, allocations: 12.56 kB / 0.5263 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007648/0.02227, allocations: 264 kB / 0.5266 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.153e-05/0.02236, allocations: 84.23 kB / 0.5267 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.615e-05/0.02242, allocations: 11.11 kB / 0.5267 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.02246, allocations: 16.48 kB / 0.5267 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.02246, allocations: 2.344 kB / 0.5267 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.004203/0.02666, allocations: 1.156 MB / 0.5278 GB, free: 9.969 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.804579337942414]