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.0007769/0.0007769, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000797/0.000797, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9234/0.9234, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.7316/0.7316, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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 2.605e-06/2.605e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.593e-05/4.853e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00301/0.003059, allocations: 1.292 MB / 0.6206 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.004322, allocations: 0.5409 MB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.004362, allocations: 3.938 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.004386, allocations: 0 / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.004429, allocations: 4 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.005215, allocations: 147.2 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.005318, allocations: 23.91 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.005371, allocations: 4 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.00544, allocations: 11.92 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.0055, allocations: 8 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.005518, allocations: 0 / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.005966, allocations: 271.4 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.005989, allocations: 11.98 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.00602, allocations: 4 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.006324, allocations: 151.5 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.00633, allocations: 0 / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.525e-06/0.006332, allocations: 0 / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.006339, allocations: 3.938 kB / 0.6217 GB, free: 10.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004897/0.006829, allocations: 286 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.006878, allocations: 12.03 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.006927, allocations: 4.891 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.007033, allocations: 105.8 kB / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.007046, allocations: 384 / 0.6221 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.007075, allocations: 8.312 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.007223, allocations: 71.89 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.007232, allocations: 192 / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.007243, allocations: 384 / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.007249, allocations: 384 / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.007295, allocations: 19.92 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.00746, allocations: 101.3 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.007705, allocations: 42.55 kB / 0.6224 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.007742, allocations: 24.92 kB / 0.6224 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.007768, allocations: 4 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.007798, allocations: 34.56 kB / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.0078, allocations: 0 / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0006532/0.008453, allocations: 233.2 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.008493, allocations: 59.34 kB / 0.6227 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.23e-05/0.008555, allocations: 101.8 kB / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.008569, allocations: 25.7 kB / 0.6228 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.0086, allocations: 80.14 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.008631, allocations: 23.8 kB / 0.6229 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.008675, allocations: 21.67 kB / 0.6229 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.008766, allocations: 314.8 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.008797, allocations: 16 kB / 0.6233 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.008821, allocations: 15.98 kB / 0.6233 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.008881, allocations: 32.8 kB / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.008882, allocations: 0 / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001024/0.008985, allocations: 61.69 kB / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.009003, allocations: 8 kB / 0.6234 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.009009, allocations: 240 / 0.6234 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.009024, allocations: 0 / 0.6234 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.009081, allocations: 8 kB / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.009087, allocations: 7.922 kB / 0.6234 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.009102, allocations: 8 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.009108, allocations: 0 / 0.6234 GB, free: 8.809 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 (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 7.844e-05/0.009187, allocations: 122.8 kB / 0.6235 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.009197, allocations: 0 / 0.6235 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.009335, allocations: 69.75 kB / 0.6236 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.009338, allocations: 4 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.009344, allocations: 3.938 kB / 0.6236 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.009348, allocations: 3.938 kB / 0.6236 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.009648, allocations: 267 kB / 0.6238 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.00965, allocations: 0 / 0.6238 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.009714, allocations: 16.03 kB / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.009718, allocations: 0 / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.009726, allocations: 3.938 kB / 0.6239 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.009729, allocations: 0 / 0.6239 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.009734, allocations: 7.984 kB / 0.6239 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.009922, allocations: 176.5 kB / 0.624 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.009947, allocations: 8.016 kB / 0.624 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.009963, allocations: 3.938 kB / 0.6241 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.01003, allocations: 8 kB / 0.6241 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.01005, allocations: 0 / 0.6241 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.01006, allocations: 4 kB / 0.6241 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.845e-05/0.0101, allocations: 87.84 kB / 0.6241 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.0101, allocations: 0 / 0.6241 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002702/0.01037, allocations: 19.94 kB / 0.6242 GB, free: 7.945 MB / 0.5886 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.0002088/0.01058, allocations: 115.2 kB / 0.6243 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.01069, allocations: 39.92 kB / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.0107, allocations: 0 / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.01072, allocations: 19.94 kB / 0.6243 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.01096, allocations: 3.984 kB / 0.6243 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.01138, allocations: 199.5 kB / 0.6245 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.733e-05/0.01144, allocations: 63.34 kB / 0.6246 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.01147, allocations: 12.5 kB / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.01147, allocations: 0 / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of Templates: time 0.002396/0.01386, allocations: 0.8127 MB / 0.6254 GB, free: 6.625 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.048364559188485] Failed to read output from testmodel.py, exit status != 0: 0.021503637544810772 0.027163546 0.01913874 Calling exit ...