Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 238.9 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 196.5 kB / 289.1 MB, free: 2.398 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03192/0.03192, allocations: 8.801 MB / 348.1 MB, free: 4.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 69.69 kB / 410.4 MB, free: 42.35 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08559/0.08686, allocations: 51.57 MB / 462 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002047/0.08894, allocations: 1.243 MB / 463.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 3.629e-05/0.08899, allocations: 3.984 kB / 463.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.08902, allocations: 0 / 463.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.08904, allocations: 4 kB / 463.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.0891, allocations: 4 kB / 463.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.628e-05/0.08915, allocations: 0 / 463.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.0892, allocations: 11.94 kB / 463.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.08925, allocations: 7.922 kB / 463.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/0.08927, allocations: 4 kB / 463.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.08931, allocations: 3.938 kB / 463.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.08933, allocations: 4 kB / 463.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-06/0.08934, allocations: 0 / 463.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.08936, allocations: 4 kB / 463.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.08938, allocations: 3.984 kB / 463.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.279e-05/0.08943, allocations: 15.92 kB / 463.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.08944, allocations: 0 / 463.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.08945, allocations: 0 / 463.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.08945, allocations: 0 / 463.3 MB, free: 13.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003346/0.08979, allocations: 323.5 kB / 463.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.08983, allocations: 8.031 kB / 463.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.08987, allocations: 8.922 kB / 463.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.08997, allocations: 164.4 kB / 463.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.08999, allocations: 384 / 463.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.09, allocations: 384 / 463.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.096e-05/0.09008, allocations: 39.98 kB / 463.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.0901, allocations: 192 / 463.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.09011, allocations: 3.938 kB / 463.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.09012, allocations: 4 kB / 463.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.09014, allocations: 11.92 kB / 463.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.09057, allocations: 190.8 kB / 464 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.09063, allocations: 33.19 kB / 464 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.09066, allocations: 25.78 kB / 464.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.09067, allocations: 0 / 464.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.09069, allocations: 34.56 kB / 464.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.0907, allocations: 0 / 464.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001305/0.09083, allocations: 49.56 kB / 464.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.09087, allocations: 77.11 kB / 464.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.997e-05/0.09094, allocations: 98.11 kB / 464.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.09096, allocations: 25.7 kB / 464.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.09099, allocations: 80.14 kB / 464.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.09102, allocations: 19.78 kB / 464.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.09105, allocations: 17.7 kB / 464.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.09115, allocations: 310.8 kB / 464.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.09117, allocations: 4 kB / 464.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.0912, allocations: 17.84 kB / 464.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.09123, allocations: 21.66 kB / 464.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.09124, allocations: 0 / 464.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.79e-05/0.0913, allocations: 45.62 kB / 464.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.09132, allocations: 8 kB / 464.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.09133, allocations: 7.875 kB / 464.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.09135, allocations: 0 / 464.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.09153, allocations: 28.11 kB / 464.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.09304, allocations: 2.537 MB / 467.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.09308, allocations: 256 / 467.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.09309, allocations: 4 kB / 467.4 MB, free: 8.871 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.09318, allocations: 126.5 kB / 467.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.09319, allocations: 0 / 467.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.034e-05/0.0932, allocations: 7.078 kB / 467.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.09321, allocations: 0 / 467.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.09322, allocations: 4 kB / 467.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.09323, allocations: 0 / 467.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.09354, allocations: 193.5 kB / 467.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.09355, allocations: 0 / 467.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.0937, allocations: 23.98 kB / 467.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.09371, allocations: 4 kB / 467.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.09372, allocations: 0 / 467.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.09516, allocations: 2.541 MB / 470.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.09517, allocations: 4.031 kB / 470.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.26e-05/0.09525, allocations: 70.06 kB / 470.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.09529, allocations: 85.03 kB / 470.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.0953, allocations: 8 kB / 470.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.016e-05/0.09533, allocations: 0 / 470.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.09535, allocations: 0 / 470.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.09536, allocations: 4 kB / 470.5 MB, free: 5.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.549e-05/0.09539, allocations: 75.28 kB / 470.6 MB, free: 5.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.233e-06/0.09539, allocations: 0 / 470.6 MB, free: 5.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.09559, allocations: 8.062 kB / 470.6 MB, free: 5.371 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.247e-05/0.09568, allocations: 99.23 kB / 470.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.09614, allocations: 39.91 kB / 470.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.09616, allocations: 0 / 470.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.0965, allocations: 40.09 kB / 470.7 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.09665, allocations: 7.938 kB / 470.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.09691, allocations: 108.1 kB / 470.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.09712, allocations: 0.6811 MB / 471.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.09723, allocations: 19.98 kB / 471.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.0973, allocations: 19.41 kB / 471.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.0973, allocations: 0 / 471.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of Templates: time 0.002324/0.09963, allocations: 0.842 MB / 472.4 MB, free: 3.449 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)