Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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.0008092/0.0008092, allocations: 76.45 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.0009747/0.0009747, allocations: 177.9 kB / 23.22 MB, free: 1.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8968/0.8968, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.02388/0.02388, allocations: 6.408 MB / 243.6 MB, free: 8.984 MB / 234.7 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 361 MB, free: 3.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.933e-05, allocations: 9.875 kB / 361 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0009162/0.0009455, allocations: 389.2 kB / 361.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.001089, allocations: 27.89 kB / 361.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.419e-05/0.001103, allocations: 0 / 361.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.001117, allocations: 0 / 361.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.362e-06/0.001124, allocations: 0 / 361.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.001248, allocations: 0 / 361.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.001293, allocations: 4 kB / 361.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.001334, allocations: 0 / 361.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.001365, allocations: 0 / 361.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.001413, allocations: 4 kB / 361.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.001431, allocations: 0 / 361.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-06/0.001438, allocations: 0 / 361.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.001452, allocations: 4 kB / 361.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.001468, allocations: 0 / 361.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.433e-05/0.001523, allocations: 7.969 kB / 361.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.001524, allocations: 0 / 361.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.001525, allocations: 4 kB / 361.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.001529, allocations: 0 / 361.5 MB, free: 3.484 MB / 282.7 MB 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.0001765/0.001706, allocations: 238.5 kB / 361.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.00174, allocations: 11.98 kB / 361.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.001767, allocations: 8.859 kB / 361.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.242e-05/0.0018, allocations: 105.7 kB / 361.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.00181, allocations: 8.359 kB / 361.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.001831, allocations: 4.375 kB / 361.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.016e-05/0.001901, allocations: 26.27 kB / 361.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.001908, allocations: 4.188 kB / 361.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.001915, allocations: 384 / 361.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.001919, allocations: 384 / 361.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.001936, allocations: 7.938 kB / 361.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.002121, allocations: 97.33 kB / 362 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.302e-05/0.002154, allocations: 26.53 kB / 362 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.002167, allocations: 5.984 kB / 362 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.002174, allocations: 4 kB / 362 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.152e-05/0.002186, allocations: 38.62 kB / 362 MB, free: 2.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.002187, allocations: 3.938 kB / 362.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001003/0.002287, allocations: 29.7 kB / 362.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.002305, allocations: 51.41 kB / 362.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.243e-05/0.002318, allocations: 89.86 kB / 362.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-06/0.002322, allocations: 29.7 kB / 362.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-06/0.00233, allocations: 84.12 kB / 362.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.002349, allocations: 3.953 kB / 362.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.002369, allocations: 21.66 kB / 362.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.763e-05/0.002397, allocations: 318.9 kB / 362.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.002408, allocations: 0 / 362.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.002414, allocations: 4 kB / 362.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.002438, allocations: 12.86 kB / 362.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00244, allocations: 0 / 362.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.389e-05/0.002474, allocations: 37.69 kB / 362.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.002486, allocations: 4 kB / 362.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.002491, allocations: 0 / 362.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.002501, allocations: 0 / 362.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.619e-05/0.002528, allocations: 4.094 kB / 362.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.002532, allocations: 7.938 kB / 362.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-06/0.002542, allocations: 7.938 kB / 362.7 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.002547, allocations: 0 / 362.7 MB, free: 2.039 MB / 282.7 MB 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 (2): * Single equations (assignments): 2 * 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 3.426e-05/0.002581, allocations: 113.8 kB / 362.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-06/0.002584, allocations: 3.938 kB / 362.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.393e-05/0.002598, allocations: 6.953 kB / 362.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.0026, allocations: 3.984 kB / 362.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.002604, allocations: 0 / 362.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.002606, allocations: 0 / 362.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.389e-05/0.00267, allocations: 105.3 kB / 363 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.002671, allocations: 4 kB / 363 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.002683, allocations: 4 kB / 363 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.002684, allocations: 0 / 363 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.002692, allocations: 4 kB / 363 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.002692, allocations: 0 / 363 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.002693, allocations: 3.984 kB / 363 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.813e-05/0.002761, allocations: 65.02 kB / 363.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-06/0.002765, allocations: 0 / 363.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.002774, allocations: 4.031 kB / 363.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-06/0.002779, allocations: 3.984 kB / 363.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.002791, allocations: 4.094 kB / 363.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-07/0.002792, allocations: 0 / 363.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.035e-06/0.0028, allocations: 75.28 kB / 363.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0028, allocations: 0 / 363.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001147/0.002915, allocations: 3.938 kB / 363.1 MB, free: 1.586 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 5.41e-05/0.002969, allocations: 106.2 kB / 363.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.467e-05/0.003023, allocations: 4 kB / 363.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.003025, allocations: 0 / 363.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-06/0.003029, allocations: 4.062 kB / 363.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.337e-05/0.003123, allocations: 4.062 kB / 363.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.003318, allocations: 130.5 kB / 363.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.244e-05/0.003341, allocations: 59.33 kB / 363.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.003356, allocations: 12.5 kB / 363.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.003357, allocations: 0 / 363.5 MB, free: 1.211 MB / 282.7 MB Notification: Performance of Templates: time 0.001164/0.004521, allocations: 383.8 kB / 363.8 MB, free: 0.8359 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.928094589151442] Failed to read output from testmodel.py, exit status != 0: 0.008811180479824543 0.018295645000000003 0.014906164000000001 Calling exit ...