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.001553/0.001553, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05698/0.05698, allocations: 8.7 MB / 21.96 MB, free: 3.367 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.394/1.394, allocations: 221.4 MB / 246 MB, free: 3.547 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.0008894/0.0008892, allocations: 98.28 kB / 299.1 MB, free: 2.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.244e-05, allocations: 4 kB / 359.6 MB, free: 6.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2612, allocations: 52.54 MB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3664, allocations: 77.18 MB / 489.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.3667, allocations: 63.97 kB / 489.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005296/0.372, allocations: 1.524 MB / 490.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3721, allocations: 0 / 490.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3721, allocations: 7.938 kB / 490.9 MB, free: 7.672 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.0004026/0.3725, allocations: 392 kB / 491.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3725, allocations: 8.031 kB / 491.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.777e-05/0.3726, allocations: 109.8 kB / 491.4 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.3727, allocations: 79.28 kB / 491.5 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3729, allocations: 250.4 kB / 491.7 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.3729, allocations: 154.6 kB / 491.9 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.373, allocations: 154.6 kB / 492 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.41e-05/0.3731, allocations: 105 kB / 492.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.3731, allocations: 79.23 kB / 492.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.3732, allocations: 150.6 kB / 492.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.08e-05/0.3733, allocations: 158.6 kB / 492.5 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.3733, allocations: 150.6 kB / 492.7 MB, free: 5.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.3737, allocations: 465.9 kB / 493.1 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/0.3738, allocations: 173.1 kB / 493.3 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.3738, allocations: 88.12 kB / 493.4 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.3739, allocations: 79.27 kB / 493.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.3739, allocations: 105.8 kB / 493.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3739, allocations: 3.938 kB / 493.6 MB, free: 4.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.205e-05/0.374, allocations: 41.5 kB / 493.6 MB, free: 4.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.3741, allocations: 126.7 kB / 493.7 MB, free: 4.652 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.0001953/0.3743, allocations: 143.1 kB / 493.9 MB, free: 4.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3743, allocations: 29.7 kB / 493.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.3744, allocations: 88.05 kB / 494 MB, free: 4.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.3744, allocations: 0 / 494 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.3744, allocations: 4 kB / 494 MB, free: 4.375 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3745, allocations: 318.8 kB / 494.3 MB, free: 4.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.3746, allocations: 12 kB / 494.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.3747, allocations: 61.14 kB / 494.4 MB, free: 3.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.3748, allocations: 45.62 kB / 494.4 MB, free: 3.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3748, allocations: 4 kB / 494.4 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005122/0.3753, allocations: 323.1 kB / 494.7 MB, free: 3.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.3753, allocations: 29.7 kB / 494.8 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3753, allocations: 0 / 494.8 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.3756, allocations: 45.69 kB / 494.8 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.3758, allocations: 32.11 kB / 494.8 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/0.3796, allocations: 5.166 MB / 0.4883 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.3797, allocations: 11.88 kB / 0.4883 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3797, allocations: 7.984 kB / 0.4883 GB, free: 13.7 MB / 378.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 () * 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.0001218/0.3799, allocations: 192.3 kB / 0.4885 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.3799, allocations: 109.2 kB / 0.4886 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.38, allocations: 112.6 kB / 0.4887 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-05/0.3801, allocations: 188.1 kB / 0.4889 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-05/0.3802, allocations: 176.3 kB / 0.489 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.336e-05/0.3803, allocations: 188.2 kB / 0.4892 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.3805, allocations: 421.2 kB / 0.4896 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-05/0.3806, allocations: 101 kB / 0.4897 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.3806, allocations: 104.9 kB / 0.4898 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.869e-05/0.3807, allocations: 180.3 kB / 0.49 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.074e-05/0.3808, allocations: 184.2 kB / 0.4902 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.406e-05/0.3809, allocations: 188.2 kB / 0.4904 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.919e-05/0.381, allocations: 176.3 kB / 0.4905 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.3812, allocations: 311.6 kB / 0.4908 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3813, allocations: 190 kB / 0.491 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.3814, allocations: 188.2 kB / 0.4912 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.3815, allocations: 101 kB / 0.4913 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.3815, allocations: 180.2 kB / 0.4914 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.3816, allocations: 113.9 kB / 0.4916 GB, free: 10.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.766e-05/0.3817, allocations: 109.3 kB / 0.4917 GB, free: 10.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3817, allocations: 0 / 0.4917 GB, free: 10.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000279/0.382, allocations: 8 kB / 0.4917 GB, free: 10.04 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 () * 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.0004358/0.3824, allocations: 0.8125 MB / 0.4925 GB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.3832, allocations: 348.9 kB / 0.4928 GB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3832, allocations: 0 / 0.4928 GB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.3832, allocations: 0 / 0.4928 GB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.3835, allocations: 0.5264 MB / 0.4933 GB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.3839, allocations: 203.2 kB / 0.4935 GB, free: 8.051 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3843, allocations: 0.7004 MB / 0.4942 GB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.855e-05/0.3843, allocations: 0 / 0.4942 GB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.3843, allocations: 23.42 kB / 0.4942 GB, free: 7.301 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3844, allocations: 0 / 0.4942 GB, free: 7.301 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.4001, allocations: 1.637 MB / 0.4958 GB, free: 5.832 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/0.4005, allocations: 190.6 kB / 0.496 GB, free: 5.605 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.963, allocations: 3.938 kB / 0.496 GB, free: 5.602 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)