Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009148/0.0009148, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0008595/0.0008595, allocations: 173 kB / 23.49 MB, free: 1.055 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.91/0.91, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.744/0.744, allocations: 154.6 MB / 414.8 MB, free: 0.7031 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.878e-05, allocations: 3.516 kB / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001487/0.001506, allocations: 1.313 MB / 0.5216 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000798/0.002304, allocations: 0.5794 MB / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.002326, allocations: 0.5625 kB / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.002344, allocations: 0 / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.996e-05/0.002374, allocations: 0.5 kB / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.002755, allocations: 149 kB / 0.5223 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.002815, allocations: 27.86 kB / 0.5224 GB, free: 488 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.002851, allocations: 0.625 kB / 0.5224 GB, free: 488 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.002901, allocations: 19.97 kB / 0.5224 GB, free: 468 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.002941, allocations: 1.094 kB / 0.5224 GB, free: 468 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.002955, allocations: 4 kB / 0.5224 GB, free: 464 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.003245, allocations: 271.4 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.003257, allocations: 0.7188 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.003276, allocations: 7.984 kB / 0.5227 GB, free: 184 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.003448, allocations: 153.2 kB / 0.5228 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00345, allocations: 0 / 0.5228 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003451, allocations: 4 kB / 0.5228 GB, free: 28 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.003454, allocations: 0 / 0.5228 GB, free: 28 kB / 490.7 MB 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.0003585/0.003813, allocations: 389.6 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.003844, allocations: 8.031 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.003882, allocations: 9.234 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.004011, allocations: 104.6 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.004032, allocations: 9.062 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.004063, allocations: 384 / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.004182, allocations: 77.09 kB / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004189, allocations: 192 / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.004198, allocations: 384 / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.004206, allocations: 384 / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.004237, allocations: 21.17 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.004373, allocations: 120.6 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.004559, allocations: 45.47 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.004588, allocations: 23.67 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.004605, allocations: 3.938 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.004628, allocations: 37.39 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004629, allocations: 0 / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0005089/0.005138, allocations: 229.7 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.005168, allocations: 61.05 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.005237, allocations: 157.9 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.00525, allocations: 25.7 kB / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.005288, allocations: 130.9 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.005315, allocations: 28.33 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.005348, allocations: 27.38 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.005461, allocations: 493 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.005481, allocations: 11.98 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.531e-05/0.005497, allocations: 9.094 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.005539, allocations: 27.62 kB / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.00554, allocations: 0 / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.47e-05/0.005615, allocations: 62.47 kB / 0.5248 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.005628, allocations: 4 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.005632, allocations: 0.875 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.005645, allocations: 0 / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.227e-05/0.005687, allocations: 17.14 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.005693, allocations: 3.938 kB / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.005704, allocations: 0 / 0.5248 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.00571, allocations: 4 kB / 0.5248 GB, free: 13.7 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 6.659e-05/0.005777, allocations: 163.9 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.005786, allocations: 4 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.005887, allocations: 70.31 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005889, allocations: 3.938 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005893, allocations: 3.938 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.005896, allocations: 0 / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.006147, allocations: 321.2 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/0.006148, allocations: 0 / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.006202, allocations: 19.02 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.006206, allocations: 3.984 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.006214, allocations: 3.938 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.006216, allocations: 0 / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006217, allocations: 4 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.006366, allocations: 223.6 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.006386, allocations: 7.984 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.0064, allocations: 9.438 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.006441, allocations: 0 / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.006458, allocations: 7.984 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.006463, allocations: 0 / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.006494, allocations: 126.2 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006494, allocations: 0 / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001718/0.006666, allocations: 23.94 kB / 0.5258 GB, free: 12.65 MB / 0.4948 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.0001586/0.006824, allocations: 119.1 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.908e-05/0.006913, allocations: 39.61 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.006915, allocations: 0 / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.006936, allocations: 27.62 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.007092, allocations: 6.438 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.007602, allocations: 188 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.374e-05/0.007636, allocations: 59.34 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.007662, allocations: 9.594 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.007681, allocations: 17.97 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.007682, allocations: 0 / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.002608/0.01029, allocations: 0.6595 MB / 0.5269 GB, free: 11.55 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.721932864980772]