Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 190.5 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.17/1.17, allocations: 177.9 MB / 484.2 MB, free: 5.363 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 68.62 kB / 0.674 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7543, allocations: 95.16 MB / 0.767 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001829/0.7561, allocations: 0.5848 MB / 0.7675 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.7564, allocations: 52.16 kB / 0.7676 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.7564, allocations: 0 / 0.7676 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.7565, allocations: 0 / 0.7676 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.7565, allocations: 5.531 kB / 0.7676 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.7567, allocations: 19.58 kB / 0.7676 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.7568, allocations: 1.562 kB / 0.7676 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.7568, allocations: 0.7031 kB / 0.7676 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.7569, allocations: 1.594 kB / 0.7676 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.262e-05/0.7569, allocations: 4.5 kB / 0.7676 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.7569, allocations: 1.469 kB / 0.7676 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.757, allocations: 18.95 kB / 0.7676 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.757, allocations: 3.375 kB / 0.7676 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.7571, allocations: 5.094 kB / 0.7676 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.671e-05/0.7571, allocations: 23.05 kB / 0.7677 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7572, allocations: 0 / 0.7677 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7572, allocations: 1.156 kB / 0.7677 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.7572, allocations: 0 / 0.7677 GB, free: 7.723 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002438/0.7574, allocations: 236.2 kB / 0.7679 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7574, allocations: 8.906 kB / 0.7679 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.7577, allocations: 18.95 kB / 0.7679 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.06e-05/0.7578, allocations: 108.6 kB / 0.768 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.7578, allocations: 1.125 kB / 0.768 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.7578, allocations: 1.875 kB / 0.768 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.758, allocations: 41.95 kB / 0.7681 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.758, allocations: 192 / 0.7681 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.758, allocations: 7.938 kB / 0.7681 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.758, allocations: 0 / 0.7681 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.7581, allocations: 10.12 kB / 0.7681 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.7582, allocations: 119.9 kB / 0.7682 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.7583, allocations: 22.5 kB / 0.7682 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.7584, allocations: 11.02 kB / 0.7682 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.7584, allocations: 0 / 0.7682 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.7584, allocations: 36.45 kB / 0.7683 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.7584, allocations: 0 / 0.7683 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002433/0.7586, allocations: 54.44 kB / 0.7683 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.7587, allocations: 53.56 kB / 0.7684 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.036e-05/0.7587, allocations: 89.86 kB / 0.7684 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.7587, allocations: 25.7 kB / 0.7685 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.7587, allocations: 81.61 kB / 0.7685 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.7588, allocations: 4.656 kB / 0.7686 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.7588, allocations: 15.56 kB / 0.7686 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.7588, allocations: 324.3 kB / 0.7689 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.7589, allocations: 4.953 kB / 0.7689 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.7589, allocations: 4.859 kB / 0.7689 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.759, allocations: 19.23 kB / 0.7689 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.759, allocations: 0.7031 kB / 0.7689 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.7591, allocations: 43.59 kB / 0.7689 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.7592, allocations: 8.906 kB / 0.769 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.7592, allocations: 0.7031 kB / 0.769 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7592, allocations: 3.938 kB / 0.769 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.7592, allocations: 7.922 kB / 0.769 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7593, allocations: 0.75 kB / 0.769 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.7593, allocations: 5.828 kB / 0.769 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.7593, allocations: 0.6094 kB / 0.769 GB, free: 6.355 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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 4.553e-05/0.7593, allocations: 114.9 kB / 0.7691 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.7593, allocations: 1.969 kB / 0.7691 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.7594, allocations: 6.938 kB / 0.7691 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7594, allocations: 0.5625 kB / 0.7691 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7594, allocations: 1.375 kB / 0.7691 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.7594, allocations: 4.547 kB / 0.7691 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.01e-05/0.7594, allocations: 116 kB / 0.7692 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7594, allocations: 0 / 0.7692 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.7595, allocations: 8.406 kB / 0.7692 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.7595, allocations: 1.188 kB / 0.7692 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-06/0.7595, allocations: 8.641 kB / 0.7692 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7595, allocations: 1.281 kB / 0.7692 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7595, allocations: 0.6562 kB / 0.7692 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.7596, allocations: 64.22 kB / 0.7693 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-06/0.7596, allocations: 1.062 kB / 0.7693 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.7596, allocations: 8.891 kB / 0.7693 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.7597, allocations: 10.34 kB / 0.7693 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.7597, allocations: 0 / 0.7693 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7597, allocations: 1.797 kB / 0.7693 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.352e-05/0.7597, allocations: 75.28 kB / 0.7694 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4e-08/0.7597, allocations: 0 / 0.7694 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001708/0.7599, allocations: 1.406 kB / 0.7694 GB, free: 5.914 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001019/0.76, allocations: 97.73 kB / 0.7695 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.7601, allocations: 19.89 kB / 0.7695 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7601, allocations: 0 / 0.7695 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.7602, allocations: 6.562 kB / 0.7695 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.7603, allocations: 9.109 kB / 0.7695 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.7606, allocations: 92.58 kB / 0.7696 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.7607, allocations: 0.671 MB / 0.7703 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.7607, allocations: 6.406 kB / 0.7703 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.7607, allocations: 8.875 kB / 0.7703 GB, free: 5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.7607, allocations: 0 / 0.7703 GB, free: 5 MB / 0.5762 GB Notification: Performance of Templates: time 0.002457/0.7632, allocations: 228.9 kB / 0.7705 GB, free: 4.957 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.850542952306569] Failed to read output from testmodel.py, exit status != 0: 0.7733769603073597 0.785840649 0.025612239000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f1cbf2397b0>