Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001058/0.001058, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007964/0.0007964, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8584/0.8584, allocations: 177.1 MB / 203.5 MB, free: 5.711 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-531:686: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-531:694: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.69/0.69, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.234e-05, allocations: 6.188 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002469/0.002492, allocations: 1.467 MB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.00364, allocations: 0.5643 MB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.003681, allocations: 3.938 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.003715, allocations: 3.984 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.003767, allocations: 7.875 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.004344, allocations: 163.2 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.004436, allocations: 59.77 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.004484, allocations: 15.92 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.004568, allocations: 27.97 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.004614, allocations: 19.91 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.004634, allocations: 4 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.005035, allocations: 267.5 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.005056, allocations: 15.92 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.005087, allocations: 23.91 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.005378, allocations: 183.4 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.00538, allocations: 4 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005381, allocations: 0 / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.005385, allocations: 0 / 0.6221 GB, free: 10.3 MB / 0.5886 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.0005635/0.005949, allocations: 325.8 kB / 0.6224 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.005987, allocations: 8.031 kB / 0.6224 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.006032, allocations: 8.891 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.006132, allocations: 117.7 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.00616, allocations: 384 / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.006189, allocations: 12.38 kB / 0.6225 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.006449, allocations: 133.6 kB / 0.6227 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.006464, allocations: 192 / 0.6227 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.006482, allocations: 4.375 kB / 0.6227 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006489, allocations: 4.375 kB / 0.6227 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.00668, allocations: 51.89 kB / 0.6227 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.007054, allocations: 252.4 kB / 0.623 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.007222, allocations: 74.53 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.82e-05/0.00728, allocations: 28.78 kB / 0.6231 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.0073, allocations: 8 kB / 0.6231 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.007324, allocations: 38.5 kB / 0.6231 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.007325, allocations: 3.938 kB / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.001164/0.008489, allocations: 0.4994 MB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.008517, allocations: 55.41 kB / 0.6237 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.008564, allocations: 101.9 kB / 0.6237 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.008575, allocations: 29.64 kB / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.008612, allocations: 92.08 kB / 0.6239 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.00864, allocations: 43.62 kB / 0.6239 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.008673, allocations: 37.64 kB / 0.6239 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.00874, allocations: 322.8 kB / 0.6242 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.008804, allocations: 27.97 kB / 0.6243 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.008867, allocations: 42.86 kB / 0.6243 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.00899, allocations: 72.83 kB / 0.6244 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008991, allocations: 0 / 0.6244 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000161/0.009152, allocations: 121.7 kB / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.009164, allocations: 6.031 kB / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.009169, allocations: 0 / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.009181, allocations: 4 kB / 0.6245 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.009261, allocations: 27.97 kB / 0.6245 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.009266, allocations: 4 kB / 0.6245 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.009299, allocations: 4 kB / 0.6245 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.009309, allocations: 8 kB / 0.6246 GB, free: 7.547 MB / 0.5886 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 5.311e-05/0.009362, allocations: 118.7 kB / 0.6247 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.009376, allocations: 4 kB / 0.6247 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.009576, allocations: 129.7 kB / 0.6248 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.009577, allocations: 0 / 0.6248 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.009581, allocations: 0 / 0.6248 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.009584, allocations: 4 kB / 0.6248 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.009881, allocations: 322 kB / 0.6251 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.009881, allocations: 0 / 0.6251 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.009955, allocations: 23.98 kB / 0.6251 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009958, allocations: 4 kB / 0.6251 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.009966, allocations: 4 kB / 0.6251 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009969, allocations: 3.984 kB / 0.6251 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009969, allocations: 0 / 0.6251 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.01024, allocations: 259.2 kB / 0.6254 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.01024, allocations: 0 / 0.6254 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.01026, allocations: 4.031 kB / 0.6254 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.01031, allocations: 8 kB / 0.6254 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.01033, allocations: 3.984 kB / 0.6254 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.01033, allocations: 11.98 kB / 0.6254 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.294e-05/0.01036, allocations: 79.28 kB / 0.6255 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01036, allocations: 3.938 kB / 0.6255 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001723/0.01053, allocations: 43.81 kB / 0.6255 GB, free: 6.473 MB / 0.5886 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.0001403/0.01067, allocations: 142.3 kB / 0.6257 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.01084, allocations: 79.83 kB / 0.6257 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01085, allocations: 0 / 0.6257 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/0.01091, allocations: 47.03 kB / 0.6258 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.0111, allocations: 8.078 kB / 0.6258 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.01151, allocations: 303.3 kB / 0.6261 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.01156, allocations: 79.27 kB / 0.6262 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.01159, allocations: 16.5 kB / 0.6262 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.01159, allocations: 0 / 0.6262 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.002011/0.0136, allocations: 1.351 MB / 0.6275 GB, free: 4.41 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.356237676925957] Failed to read output from testmodel.py, exit status != 0: 0.019437827169895172 0.02529812 0.018363222000000002 Calling exit ...