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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.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(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 103 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 198.3 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1069/0.1069, allocations: 8.118 MB / 278.6 MB, free: 3.965 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 71.91 kB / 338.6 MB, free: 7.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2073, allocations: 48.28 MB / 386.9 MB, free: 51.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001766/0.2091, allocations: 408 kB / 387.3 MB, free: 51.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.2093, allocations: 17.8 kB / 387.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.2093, allocations: 1.219 kB / 387.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.858e-06/0.2093, allocations: 0 / 387.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.2094, allocations: 1.062 kB / 387.3 MB, free: 51.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.2095, allocations: 5.719 kB / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.364e-05/0.2095, allocations: 2 kB / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.2096, allocations: 2.578 kB / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.2096, allocations: 1.25 kB / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.2096, allocations: 6.891 kB / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.2097, allocations: 0 / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-06/0.2097, allocations: 0 / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.2097, allocations: 1.281 kB / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.2097, allocations: 4.609 kB / 387.3 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.225e-05/0.2098, allocations: 7.766 kB / 387.4 MB, free: 51.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2098, allocations: 0 / 387.4 MB, free: 51.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2098, allocations: 0 / 387.4 MB, free: 51.58 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2098, allocations: 1.875 kB / 387.4 MB, free: 51.58 MB / 318.1 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.0002063/0.21, allocations: 309.4 kB / 387.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.21, allocations: 10.06 kB / 387.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.2101, allocations: 2.969 kB / 387.7 MB, free: 51.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.769e-05/0.2101, allocations: 161.9 kB / 387.8 MB, free: 51.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.2101, allocations: 0.8906 kB / 387.8 MB, free: 51.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.2102, allocations: 5.5 kB / 387.8 MB, free: 51.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.567e-05/0.2102, allocations: 30.75 kB / 387.9 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.2102, allocations: 0.8906 kB / 387.9 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.2103, allocations: 3.938 kB / 387.9 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2103, allocations: 1.938 kB / 387.9 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.514e-05/0.2103, allocations: 5.125 kB / 387.9 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.2105, allocations: 152 kB / 388 MB, free: 50.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.869e-05/0.2105, allocations: 20.45 kB / 388 MB, free: 50.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.2105, allocations: 7.516 kB / 388.1 MB, free: 50.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-06/0.2105, allocations: 3.609 kB / 388.1 MB, free: 50.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.2106, allocations: 33.05 kB / 388.1 MB, free: 50.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2106, allocations: 0 / 388.1 MB, free: 50.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 9.569e-05/0.2107, allocations: 41.97 kB / 388.1 MB, free: 50.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.2107, allocations: 53.25 kB / 388.2 MB, free: 50.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.428e-05/0.2107, allocations: 93.86 kB / 388.3 MB, free: 50.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-06/0.2107, allocations: 27.53 kB / 388.3 MB, free: 50.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.279e-05/0.2107, allocations: 80.14 kB / 388.4 MB, free: 50.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.2108, allocations: 9.781 kB / 388.4 MB, free: 50.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.2108, allocations: 13.12 kB / 388.4 MB, free: 50.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.2109, allocations: 318.3 kB / 388.7 MB, free: 50.08 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.2109, allocations: 1.062 kB / 388.7 MB, free: 50.08 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.2109, allocations: 2.656 kB / 388.7 MB, free: 50.08 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.2109, allocations: 10.98 kB / 388.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2109, allocations: 0 / 388.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.909e-05/0.211, allocations: 50.5 kB / 388.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.211, allocations: 5.25 kB / 388.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.211, allocations: 1.219 kB / 388.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.211, allocations: 4.641 kB / 388.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.481e-05/0.2111, allocations: 2.5 kB / 388.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2111, allocations: 2.016 kB / 388.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.2111, allocations: 0 / 388.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2111, allocations: 1.312 kB / 388.8 MB, free: 50.02 MB / 318.1 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 4.209e-05/0.2111, allocations: 109.7 kB / 388.9 MB, free: 49.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.2112, allocations: 0.7031 kB / 388.9 MB, free: 49.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.629e-05/0.2112, allocations: 16.14 kB / 388.9 MB, free: 49.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2112, allocations: 0.5156 kB / 388.9 MB, free: 49.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2112, allocations: 2.719 kB / 388.9 MB, free: 49.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2112, allocations: 2.125 kB / 388.9 MB, free: 49.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.634e-05/0.2113, allocations: 148.3 kB / 389.1 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2113, allocations: 1.25 kB / 389.1 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.2113, allocations: 1.562 kB / 389.1 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2113, allocations: 1.406 kB / 389.1 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2113, allocations: 7.094 kB / 389.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2114, allocations: 5.688 kB / 389.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2114, allocations: 1.703 kB / 389.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.891e-05/0.2114, allocations: 62.64 kB / 389.1 MB, free: 49.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.2115, allocations: 79.38 kB / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.2115, allocations: 4.5 kB / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.162e-05/0.2115, allocations: 0 / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.2115, allocations: 1.859 kB / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.2115, allocations: 0 / 389.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.186e-05/0.2115, allocations: 76.59 kB / 389.3 MB, free: 49.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2115, allocations: 3.656 kB / 389.3 MB, free: 49.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.2118, allocations: 1.688 kB / 389.3 MB, free: 49.46 MB / 318.1 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.803e-05/0.2118, allocations: 94.77 kB / 389.4 MB, free: 49.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.713e-05/0.2119, allocations: 14.22 kB / 389.4 MB, free: 49.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2119, allocations: 0 / 389.4 MB, free: 49.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.625e-06/0.2119, allocations: 2.938 kB / 389.4 MB, free: 49.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.212, allocations: 6.75 kB / 389.4 MB, free: 49.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.2123, allocations: 108.2 kB / 389.5 MB, free: 49.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.659e-05/0.2124, allocations: 0.6835 MB / 390.2 MB, free: 48.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.759e-05/0.2124, allocations: 0.5156 kB / 390.2 MB, free: 48.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.2124, allocations: 8.938 kB / 390.2 MB, free: 48.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2124, allocations: 0 / 390.2 MB, free: 48.55 MB / 318.1 MB Notification: Performance of Templates: time 0.001798/0.2142, allocations: 205.3 kB / 390.4 MB, free: 48.52 MB / 318.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile (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 -s gbode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1)