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.001403/0.001403, allocations: 84.73 kB / 19.44 MB, free: 348 kB / 13.93 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.00152/0.00152, allocations: 157.7 kB / 22.75 MB, free: 1.676 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 1.338/1.338, allocations: 158.6 MB / 184.6 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.1266/0.1266, allocations: 6.414 MB / 243.3 MB, free: 8.781 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 3.747e-06/3.747e-06, allocations: 0 / 310 MB, free: 52.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.101e-05/4.475e-05, allocations: 4.75 kB / 310 MB, free: 52.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001877/0.001922, allocations: 398 kB / 310.4 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001942/0.002116, allocations: 18.28 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.00214, allocations: 3.031 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.002158, allocations: 1.094 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-06/0.002165, allocations: 0 / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.002364, allocations: 2.109 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.002434, allocations: 1.156 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.999e-05/0.002494, allocations: 3.047 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.002537, allocations: 1.156 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.002607, allocations: 0.5625 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.002626, allocations: 2.938 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-06/0.002635, allocations: 0 / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.002652, allocations: 4 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.002683, allocations: 5.859 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.559e-05/0.002749, allocations: 0.5625 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.002751, allocations: 2.062 kB / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002752, allocations: 0 / 310.4 MB, free: 52.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.002758, allocations: 1.734 kB / 310.4 MB, free: 52.02 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.000299/0.003057, allocations: 232.6 kB / 310.6 MB, free: 51.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.003094, allocations: 14.08 kB / 310.6 MB, free: 51.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.003146, allocations: 3.156 kB / 310.7 MB, free: 51.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.782e-05/0.003204, allocations: 104 kB / 310.8 MB, free: 51.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.003218, allocations: 4.375 kB / 310.8 MB, free: 51.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.003252, allocations: 3.641 kB / 310.8 MB, free: 51.63 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.561e-05/0.003338, allocations: 29.41 kB / 310.8 MB, free: 51.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.003346, allocations: 192 / 310.8 MB, free: 51.6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.003355, allocations: 2.312 kB / 310.8 MB, free: 51.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.003359, allocations: 4.312 kB / 310.8 MB, free: 51.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.895e-05/0.003388, allocations: 12.95 kB / 310.8 MB, free: 51.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.003658, allocations: 100.7 kB / 310.9 MB, free: 51.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.0037, allocations: 21.72 kB / 310.9 MB, free: 51.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.003721, allocations: 8.938 kB / 310.9 MB, free: 51.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.003734, allocations: 1.125 kB / 310.9 MB, free: 51.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.00375, allocations: 33.95 kB / 311 MB, free: 51.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.003751, allocations: 0 / 311 MB, free: 51.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.003899, allocations: 41.73 kB / 311 MB, free: 51.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.003927, allocations: 51.41 kB / 311.1 MB, free: 51.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.364e-05/0.003951, allocations: 91.02 kB / 311.2 MB, free: 51.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.00396, allocations: 29.7 kB / 311.2 MB, free: 51.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.43e-05/0.003974, allocations: 81.27 kB / 311.3 MB, free: 51.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.004007, allocations: 5.359 kB / 311.3 MB, free: 51.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.004046, allocations: 13.77 kB / 311.3 MB, free: 51.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.004105, allocations: 316 kB / 311.6 MB, free: 50.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.004121, allocations: 6.25 kB / 311.6 MB, free: 50.74 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.004129, allocations: 6.359 kB / 311.6 MB, free: 50.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.004171, allocations: 9.266 kB / 311.6 MB, free: 50.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.004174, allocations: 1.125 kB / 311.6 MB, free: 50.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.658e-05/0.00423, allocations: 46.95 kB / 311.7 MB, free: 50.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.004255, allocations: 5.422 kB / 311.7 MB, free: 50.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.004261, allocations: 0 / 311.7 MB, free: 50.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.004291, allocations: 1.031 kB / 311.7 MB, free: 50.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.107e-05/0.004322, allocations: 3.016 kB / 311.7 MB, free: 50.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.004327, allocations: 1.156 kB / 311.7 MB, free: 50.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.236e-05/0.004339, allocations: 8.031 kB / 311.7 MB, free: 50.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.004351, allocations: 2.672 kB / 311.7 MB, free: 50.68 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 5.095e-05/0.004402, allocations: 107 kB / 311.8 MB, free: 50.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.004412, allocations: 1.812 kB / 311.8 MB, free: 50.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.00443, allocations: 13.75 kB / 311.8 MB, free: 50.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.004432, allocations: 0 / 311.8 MB, free: 50.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.004436, allocations: 0 / 311.8 MB, free: 50.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.004444, allocations: 0.9844 kB / 311.8 MB, free: 50.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.004544, allocations: 103.8 kB / 311.9 MB, free: 50.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.004547, allocations: 3.344 kB / 311.9 MB, free: 50.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.004573, allocations: 9.219 kB / 311.9 MB, free: 50.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.004577, allocations: 2.031 kB / 311.9 MB, free: 50.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.004584, allocations: 0 / 311.9 MB, free: 50.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.004586, allocations: 1.156 kB / 311.9 MB, free: 50.42 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.004588, allocations: 3.281 kB / 311.9 MB, free: 50.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.00469, allocations: 71.62 kB / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.004698, allocations: 5.703 kB / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.004709, allocations: 1.062 kB / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.004721, allocations: 0 / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.004732, allocations: 1.609 kB / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.004736, allocations: 5.062 kB / 312 MB, free: 50.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.231e-05/0.004748, allocations: 75.28 kB / 312.1 MB, free: 50.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.004748, allocations: 0 / 312.1 MB, free: 50.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.004961, allocations: 2.031 kB / 312.1 MB, free: 50.27 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 8.352e-05/0.005044, allocations: 99.38 kB / 312.2 MB, free: 50.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.957e-05/0.005134, allocations: 10.28 kB / 312.2 MB, free: 50.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.005136, allocations: 0 / 312.2 MB, free: 50.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.005149, allocations: 6.344 kB / 312.2 MB, free: 50.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.005316, allocations: 1.281 kB / 312.2 MB, free: 50.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.005617, allocations: 99.27 kB / 312.3 MB, free: 50.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.005658, allocations: 58.56 kB / 312.3 MB, free: 49.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.258e-05/0.005681, allocations: 1.125 kB / 312.3 MB, free: 49.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.005708, allocations: 8.5 kB / 312.4 MB, free: 49.98 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005709, allocations: 0 / 312.4 MB, free: 49.98 MB / 282.7 MB Notification: Performance of Templates: time 0.002982/0.008691, allocations: 237.7 kB / 312.6 MB, free: 49.96 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: 4.417550633079372]