Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008872/0.0008872, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009377/0.0009377, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9151/0.9151, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8072/0.8072, allocations: 154.6 MB / 414.5 MB, free: 0.6758 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.32e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001582/0.001605, allocations: 1.304 MB / 0.5216 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.00239, allocations: 0.5746 MB / 0.5222 GB, free: 332 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.002413, allocations: 3.938 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.002433, allocations: 0.75 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.03e-05/0.002474, allocations: 7.984 kB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.002867, allocations: 152.6 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.002917, allocations: 15.88 kB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.002956, allocations: 9.328 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.003001, allocations: 8 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.367e-05/0.003045, allocations: 11.97 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.003059, allocations: 1.125 kB / 0.5224 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.003366, allocations: 271.4 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.00338, allocations: 3.984 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.003398, allocations: 6.781 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.00359, allocations: 159.5 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003592, allocations: 0 / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003593, allocations: 0 / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003597, allocations: 0 / 0.5228 GB, free: 15.69 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003292/0.003926, allocations: 380 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.003962, allocations: 16.02 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.003997, allocations: 5.797 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.26e-05/0.00407, allocations: 112.6 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.004078, allocations: 4.875 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.004101, allocations: 9.344 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.526e-05/0.004197, allocations: 59.95 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.004202, allocations: 4.125 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.00421, allocations: 2 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.004217, allocations: 384 / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.87e-05/0.004245, allocations: 15.94 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.004367, allocations: 120.6 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.004521, allocations: 48.03 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.004548, allocations: 15.69 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.004566, allocations: 1.5 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.00459, allocations: 45.31 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.00459, allocations: 0 / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004771/0.005068, allocations: 234.8 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.005094, allocations: 63.34 kB / 0.5239 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.209e-05/0.005156, allocations: 157.9 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.005166, allocations: 26.39 kB / 0.524 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.005199, allocations: 126.9 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.005223, allocations: 25.08 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.005252, allocations: 23.38 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.005363, allocations: 0.4884 MB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.005385, allocations: 9.344 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.005398, allocations: 7.984 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.005441, allocations: 39.61 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.005442, allocations: 0 / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.546e-05/0.005507, allocations: 56.78 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.005519, allocations: 8 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005523, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.005535, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.005573, allocations: 8 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005578, allocations: 3.938 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.005591, allocations: 8 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.005595, allocations: 0 / 0.5248 GB, free: 13.37 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 (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.666e-05/0.005652, allocations: 167.3 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.00566, allocations: 4 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.00575, allocations: 61.81 kB / 0.525 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.005752, allocations: 7.938 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.005756, allocations: 3.938 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.005759, allocations: 0 / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.005992, allocations: 322.5 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.005994, allocations: 0 / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.006048, allocations: 12 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.00605, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.006061, allocations: 8.438 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.006062, allocations: 0.5 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006064, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.006228, allocations: 225.5 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.00625, allocations: 11.98 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.006261, allocations: 3.938 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.006301, allocations: 4 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.006315, allocations: 2.438 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.006319, allocations: 4 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.398e-05/0.006353, allocations: 131.2 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006353, allocations: 0 / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000161/0.006514, allocations: 15.94 kB / 0.5258 GB, free: 12.33 MB / 0.4948 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.0001259/0.00664, allocations: 125.4 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.006817, allocations: 39.84 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.00682, allocations: 0 / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.006857, allocations: 27.61 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.007033, allocations: 4.938 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.0076, allocations: 193.9 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.007636, allocations: 55.36 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.00766, allocations: 13.19 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.007684, allocations: 14.12 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/0.007685, allocations: 0 / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.002539/0.01022, allocations: 0.6535 MB / 0.5269 GB, free: 11.24 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.851178797893226]