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.001286/0.001286, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.354/1.354, allocations: 222.9 MB / 240.1 MB, free: 4.367 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.001407/0.001407, allocations: 192.5 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03446/0.03446, allocations: 8.799 MB / 349.3 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 71.88 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1408, allocations: 51.57 MB / 0.504 GB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.004593/0.1455, allocations: 1.191 MB / 0.5052 GB, free: 8.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 7.349e-05/0.1456, allocations: 11.91 kB / 0.5052 GB, free: 8.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.1457, allocations: 0 / 0.5052 GB, free: 8.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.1457, allocations: 0 / 0.5052 GB, free: 8.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.1458, allocations: 4 kB / 0.5052 GB, free: 8.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.204e-05/0.1459, allocations: 0 / 0.5052 GB, free: 8.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.146, allocations: 11.94 kB / 0.5052 GB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.326e-05/0.1461, allocations: 0 / 0.5052 GB, free: 8.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.1461, allocations: 11.92 kB / 0.5052 GB, free: 8.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.1462, allocations: 0 / 0.5052 GB, free: 8.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1462, allocations: 4 kB / 0.5052 GB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.1463, allocations: 0 / 0.5052 GB, free: 8.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.1463, allocations: 7.984 kB / 0.5052 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.1463, allocations: 3.938 kB / 0.5053 GB, free: 8.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.357e-05/0.1464, allocations: 4 kB / 0.5053 GB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1464, allocations: 0 / 0.5053 GB, free: 8.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1464, allocations: 0 / 0.5053 GB, free: 8.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1465, allocations: 4 kB / 0.5053 GB, free: 8.203 MB / 350.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.0004941/0.147, allocations: 318 kB / 0.5056 GB, free: 7.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.147, allocations: 8.031 kB / 0.5056 GB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.1471, allocations: 4.938 kB / 0.5056 GB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1473, allocations: 172.2 kB / 0.5057 GB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1473, allocations: 4.375 kB / 0.5057 GB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1473, allocations: 384 / 0.5057 GB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1475, allocations: 43.98 kB / 0.5058 GB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1475, allocations: 192 / 0.5058 GB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1475, allocations: 3.938 kB / 0.5058 GB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1475, allocations: 4 kB / 0.5058 GB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.1476, allocations: 3.938 kB / 0.5058 GB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.1483, allocations: 194.5 kB / 0.506 GB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/0.1484, allocations: 41.19 kB / 0.506 GB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.1485, allocations: 13.84 kB / 0.506 GB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1485, allocations: 3.938 kB / 0.506 GB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1486, allocations: 46.5 kB / 0.5061 GB, free: 7.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.339e-05/0.1486, allocations: 3.984 kB / 0.5061 GB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001961/0.1488, allocations: 45.56 kB / 0.5061 GB, free: 7.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1489, allocations: 81.11 kB / 0.5062 GB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.149, allocations: 93.86 kB / 0.5063 GB, free: 6.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.149, allocations: 25.7 kB / 0.5063 GB, free: 6.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.1491, allocations: 80.52 kB / 0.5064 GB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.1491, allocations: 15.84 kB / 0.5064 GB, free: 6.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.1492, allocations: 17.66 kB / 0.5064 GB, free: 6.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1493, allocations: 314.8 kB / 0.5067 GB, free: 6.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.1494, allocations: 4 kB / 0.5067 GB, free: 6.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.1494, allocations: 13.72 kB / 0.5067 GB, free: 6.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.1494, allocations: 25.72 kB / 0.5068 GB, free: 6.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1494, allocations: 0 / 0.5068 GB, free: 6.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.1496, allocations: 41.69 kB / 0.5068 GB, free: 6.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1496, allocations: 8 kB / 0.5068 GB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1496, allocations: 3.938 kB / 0.5068 GB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1497, allocations: 0 / 0.5068 GB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.15, allocations: 27.92 kB / 0.5068 GB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.1527, allocations: 2.715 MB / 0.5095 GB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.1527, allocations: 8.188 kB / 0.5095 GB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1528, allocations: 0 / 0.5095 GB, free: 3.316 MB / 350.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 0.0001209/0.1529, allocations: 113.8 kB / 0.5096 GB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1529, allocations: 7.938 kB / 0.5096 GB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.153, allocations: 3.125 kB / 0.5096 GB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.153, allocations: 0 / 0.5096 GB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.153, allocations: 0 / 0.5096 GB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.153, allocations: 0 / 0.5096 GB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.1536, allocations: 189.7 kB / 0.5098 GB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1536, allocations: 0 / 0.5098 GB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.154, allocations: 31.91 kB / 0.5098 GB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.154, allocations: 3.938 kB / 0.5098 GB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.154, allocations: 0 / 0.5098 GB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.1565, allocations: 2.731 MB / 0.5125 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1566, allocations: 0 / 0.5125 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.1567, allocations: 69.92 kB / 0.5126 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.1568, allocations: 81.05 kB / 0.5127 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1568, allocations: 7.938 kB / 0.5127 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.1569, allocations: 0 / 0.5127 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.1569, allocations: 8.078 kB / 0.5127 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1569, allocations: 4 kB / 0.5127 GB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.496e-05/0.157, allocations: 79.28 kB / 0.5127 GB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.157, allocations: 0 / 0.5127 GB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.1574, allocations: 4 kB / 0.5128 GB, free: 15.61 MB / 366.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 0.0001528/0.1576, allocations: 91.25 kB / 0.5128 GB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.158, allocations: 40.02 kB / 0.5129 GB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1581, allocations: 0 / 0.5129 GB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.1583, allocations: 19.98 kB / 0.5129 GB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1586, allocations: 4 kB / 0.5129 GB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.1591, allocations: 140.1 kB / 0.513 GB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1595, allocations: 0.6729 MB / 0.5137 GB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.1595, allocations: 11.42 kB / 0.5137 GB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1596, allocations: 0 / 0.5137 GB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.003433/0.163, allocations: 0.7687 MB / 0.5145 GB, free: 13.8 MB / 366.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)