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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03818/0.03818, allocations: 8.699 MB / 21.96 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.4 MB / 246 MB, free: 3.566 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000851/0.0008513, allocations: 90.31 kB / 299.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.946e-05, allocations: 0 / 359.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3256, allocations: 52.54 MB / 412.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09845/0.4241, allocations: 76.24 MB / 488.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4244, allocations: 59.97 kB / 488.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008312/0.4253, allocations: 419.2 kB / 488.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4253, allocations: 0 / 488.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.4253, allocations: 0 / 488.9 MB, free: 9.727 MB / 362.7 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.0003016/0.4256, allocations: 314.6 kB / 489.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4257, allocations: 12.03 kB / 489.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.4257, allocations: 30.56 kB / 489.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.4257, allocations: 7.953 kB / 489.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.4259, allocations: 163.1 kB / 489.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-06/0.4259, allocations: 0 / 489.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.4259, allocations: 0 / 489.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.426, allocations: 47.36 kB / 489.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.426, allocations: 0 / 489.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.426, allocations: 4 kB / 489.4 MB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4261, allocations: 7.953 kB / 489.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.4261, allocations: 0 / 489.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.4266, allocations: 190.6 kB / 489.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.704e-05/0.4266, allocations: 52.66 kB / 489.7 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.4267, allocations: 9.719 kB / 489.7 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.4267, allocations: 0 / 489.7 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.4267, allocations: 38.55 kB / 489.7 MB, free: 8.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4267, allocations: 0 / 489.7 MB, free: 8.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.4269, allocations: 45.61 kB / 489.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.4269, allocations: 81.11 kB / 489.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.427, allocations: 92.95 kB / 489.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.427, allocations: 25.7 kB / 490 MB, free: 8.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.427, allocations: 80.14 kB / 490 MB, free: 8.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.4271, allocations: 11.92 kB / 490 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.4271, allocations: 0 / 490 MB, free: 8.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4272, allocations: 314.8 kB / 490.4 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-06/0.4272, allocations: 4.125 kB / 490.4 MB, free: 7.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.4272, allocations: 17.66 kB / 490.4 MB, free: 7.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.782e-05/0.4273, allocations: 4 kB / 490.4 MB, free: 7.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4273, allocations: 3.938 kB / 490.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.52e-05/0.4273, allocations: 45.59 kB / 490.4 MB, free: 7.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4274, allocations: 4 kB / 490.4 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4274, allocations: 4.125 kB / 490.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4274, allocations: 4 kB / 490.4 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.4276, allocations: 27.92 kB / 490.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.4292, allocations: 2.541 MB / 493 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.4293, allocations: 0 / 493 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.4293, allocations: 0 / 493 MB, free: 5.062 MB / 362.7 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.775e-05/0.4293, allocations: 106.7 kB / 493.1 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.4294, allocations: 3.984 kB / 493.1 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.4294, allocations: 11.08 kB / 493.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4294, allocations: 0 / 493.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.4294, allocations: 0 / 493.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4294, allocations: 12.05 kB / 493.1 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.4297, allocations: 185.6 kB / 493.3 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4298, allocations: 3.984 kB / 493.3 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.4299, allocations: 27.92 kB / 493.4 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.43, allocations: 8 kB / 493.4 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.43, allocations: 0 / 493.4 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.4315, allocations: 2.541 MB / 495.9 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4315, allocations: 3.953 kB / 495.9 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.103e-05/0.4316, allocations: 79.88 kB / 496 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.4316, allocations: 85.09 kB / 496.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-06/0.4316, allocations: 0 / 496.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.4317, allocations: 3.953 kB / 496.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.4317, allocations: 0 / 496.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4317, allocations: 8.031 kB / 496.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.539e-05/0.4317, allocations: 79.28 kB / 496.2 MB, free: 1.555 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4318, allocations: 0 / 496.2 MB, free: 1.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.432, allocations: 4 kB / 496.2 MB, free: 1.551 MB / 362.7 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003696/0.4323, allocations: 0.6922 MB / 496.9 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.4328, allocations: 40.05 kB / 496.9 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4328, allocations: 0 / 496.9 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.4332, allocations: 44.03 kB / 496.9 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.4333, allocations: 5.344 kB / 496.9 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.4336, allocations: 99.38 kB / 497 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4339, allocations: 0.6848 MB / 497.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.434, allocations: 16.06 kB / 497.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.4341, allocations: 27.41 kB / 497.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4341, allocations: 0 / 497.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.4472, allocations: 1.54 MB / 499.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/0.4475, allocations: 137.8 kB / 499.4 MB, free: 14.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.927, allocations: 0 / 499.4 MB, free: 14.2 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_Attributes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)