Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",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.008354/0.008354, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06611/0.06611, allocations: 8.795 MB / 24.65 MB, free: 4.117 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.352/1.352, allocations: 223.2 MB / 250.7 MB, free: 6.594 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.0008238/0.0008239, allocations: 98.19 kB / 304 MB, free: 4.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 15.98 kB / 367.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.252, allocations: 52.54 MB / 419.7 MB, free: 48.2 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.363, allocations: 77.24 MB / 496.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.3632, allocations: 59.97 kB / 497 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004728/0.3679, allocations: 1.534 MB / 498.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.368, allocations: 1.75 kB / 498.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.368, allocations: 0 / 498.5 MB, free: 10.25 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003745/0.3684, allocations: 402.5 kB / 498.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3684, allocations: 12.56 kB / 498.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.3685, allocations: 106 kB / 499 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.3685, allocations: 87.2 kB / 499.1 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.3687, allocations: 258.1 kB / 499.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.3688, allocations: 153.4 kB / 499.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.3688, allocations: 158.6 kB / 499.7 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.041e-05/0.3689, allocations: 101 kB / 499.8 MB, free: 8.895 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.3689, allocations: 79.23 kB / 499.8 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.369, allocations: 154.6 kB / 0.4883 GB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.369, allocations: 154.6 kB / 0.4884 GB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.3691, allocations: 154.5 kB / 0.4886 GB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.3694, allocations: 465.9 kB / 0.489 GB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.3695, allocations: 165.1 kB / 0.4892 GB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.3695, allocations: 79.28 kB / 0.4893 GB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.3696, allocations: 117.8 kB / 0.4894 GB, free: 7.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3696, allocations: 0 / 0.4894 GB, free: 7.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.219e-05/0.3697, allocations: 37.5 kB / 0.4894 GB, free: 7.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.3697, allocations: 130.7 kB / 0.4895 GB, free: 7.297 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3699, allocations: 133.1 kB / 0.4897 GB, free: 7.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3699, allocations: 33.7 kB / 0.4897 GB, free: 7.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.37, allocations: 88.12 kB / 0.4898 GB, free: 7.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.37, allocations: 4 kB / 0.4898 GB, free: 7.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.37, allocations: 0 / 0.4898 GB, free: 7.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3701, allocations: 310.8 kB / 0.4901 GB, free: 6.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.3702, allocations: 19.98 kB / 0.4901 GB, free: 6.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.3702, allocations: 53.14 kB / 0.4901 GB, free: 6.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.983e-05/0.3703, allocations: 57.62 kB / 0.4902 GB, free: 6.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3703, allocations: 0 / 0.4902 GB, free: 6.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004644/0.3708, allocations: 323.2 kB / 0.4905 GB, free: 6.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.3708, allocations: 29.7 kB / 0.4905 GB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3708, allocations: 4 kB / 0.4905 GB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.371, allocations: 41.69 kB / 0.4906 GB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3713, allocations: 31.91 kB / 0.4906 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.3747, allocations: 5.212 MB / 0.4957 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3748, allocations: 4.031 kB / 0.4957 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3748, allocations: 4 kB / 0.4957 GB, free: 328 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.3749, allocations: 209.9 kB / 0.4959 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.375, allocations: 108.9 kB / 0.496 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.3751, allocations: 113.1 kB / 0.4961 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.327e-05/0.3751, allocations: 180.3 kB / 0.4963 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.161e-05/0.3752, allocations: 180.2 kB / 0.4965 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-05/0.3752, allocations: 180.2 kB / 0.4966 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.3755, allocations: 425.2 kB / 0.497 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/0.3756, allocations: 104.9 kB / 0.4971 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.3756, allocations: 101 kB / 0.4972 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-05/0.3757, allocations: 180.2 kB / 0.4974 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.3757, allocations: 184.2 kB / 0.4976 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.845e-05/0.3758, allocations: 184.3 kB / 0.4978 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-05/0.3759, allocations: 180.2 kB / 0.4979 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.376, allocations: 307.6 kB / 0.4982 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.3761, allocations: 190.1 kB / 0.4984 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.3761, allocations: 180.3 kB / 0.4986 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.3762, allocations: 108.9 kB / 0.4987 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.3763, allocations: 180.2 kB / 0.4989 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.3763, allocations: 105.9 kB / 0.499 GB, free: 12.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.3764, allocations: 117.3 kB / 0.4991 GB, free: 12.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3764, allocations: 4 kB / 0.4991 GB, free: 12.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.3767, allocations: 8 kB / 0.4991 GB, free: 12.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003714/0.3771, allocations: 0.8087 MB / 0.4999 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007193/0.3778, allocations: 349.4 kB / 0.5002 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3778, allocations: 0 / 0.5002 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3778, allocations: 0 / 0.5002 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3781, allocations: 0.5284 MB / 0.5007 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007854/0.3789, allocations: 1.202 MB / 0.5019 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3792, allocations: 0.6926 MB / 0.5026 GB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.995e-05/0.3792, allocations: 4 kB / 0.5026 GB, free: 8.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.3793, allocations: 19.42 kB / 0.5026 GB, free: 8.883 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3793, allocations: 0 / 0.5026 GB, free: 8.883 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.3921, allocations: 1.662 MB / 0.5042 GB, free: 7.414 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.3923, allocations: 219.5 kB / 0.5044 GB, free: 7.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/1.844, allocations: 0 / 0.5044 GB, free: 7.176 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_InitializationParameters_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)