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/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.302/1.302, allocations: 222.9 MB / 239 MB, free: 4.719 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.001169/0.001169, allocations: 192.5 kB / 289.3 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03457/0.03457, allocations: 8.797 MB / 348.2 MB, free: 4.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 78.55 kB / 410.7 MB, free: 42.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07596/0.07743, allocations: 51.57 MB / 462.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001567/0.07903, allocations: 0.5675 MB / 462.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000532/0.07958, allocations: 304.2 kB / 463.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.07962, allocations: 0 / 463.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.07967, allocations: 0 / 463.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.08002, allocations: 59.81 kB / 463.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.06e-05/0.08008, allocations: 4 kB / 463.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.08016, allocations: 27.86 kB / 463.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.08021, allocations: 7.984 kB / 463.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.08027, allocations: 11.98 kB / 463.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.08054, allocations: 79.86 kB / 463.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.08056, allocations: 0 / 463.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.08058, allocations: 0 / 463.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.08063, allocations: 15.92 kB / 463.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.08067, allocations: 27.84 kB / 463.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.194e-05/0.08074, allocations: 23.92 kB / 463.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.08075, allocations: 0 / 463.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08076, allocations: 0 / 463.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.08077, allocations: 0 / 463.4 MB, free: 13.49 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004414/0.08122, allocations: 402.9 kB / 463.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.08126, allocations: 12.03 kB / 463.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.08131, allocations: 110 kB / 463.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.08138, allocations: 88.06 kB / 464 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.08155, allocations: 251.6 kB / 464.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.08161, allocations: 150.9 kB / 464.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.08167, allocations: 162.9 kB / 464.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.358e-05/0.08173, allocations: 105.5 kB / 464.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.08176, allocations: 79.22 kB / 464.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.08181, allocations: 150.6 kB / 464.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-05/0.08186, allocations: 150.6 kB / 465 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.08191, allocations: 158.5 kB / 465.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.08218, allocations: 469.9 kB / 465.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.512e-05/0.08225, allocations: 169.1 kB / 465.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.08229, allocations: 80.14 kB / 465.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.08231, allocations: 79.28 kB / 465.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.08236, allocations: 109.8 kB / 466 MB, free: 10.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.08236, allocations: 3.938 kB / 466 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.609e-05/0.08244, allocations: 37.48 kB / 466.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.08248, allocations: 130.7 kB / 466.2 MB, free: 10.44 MB / 302.1 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.0001583/0.08265, allocations: 151.6 kB / 466.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.08267, allocations: 29.7 kB / 466.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.08272, allocations: 92.14 kB / 466.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.08273, allocations: 0 / 466.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.08278, allocations: 25.7 kB / 466.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.08288, allocations: 314.8 kB / 466.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.08292, allocations: 15.98 kB / 466.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.08298, allocations: 53.14 kB / 466.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.604e-05/0.08309, allocations: 94.72 kB / 467 MB, free: 9.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.0831, allocations: 4 kB / 467 MB, free: 9.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004175/0.08352, allocations: 331 kB / 467.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.08356, allocations: 33.7 kB / 467.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.08357, allocations: 0 / 467.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.08376, allocations: 49.81 kB / 467.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.08399, allocations: 27.98 kB / 467.4 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.08722, allocations: 5.564 MB / 473 MB, free: 2.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.0873, allocations: 19.98 kB / 473 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.08732, allocations: 0 / 473 MB, free: 2.957 MB / 302.1 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 (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.08743, allocations: 208.9 kB / 473.2 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.08749, allocations: 101 kB / 473.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.08753, allocations: 116.8 kB / 473.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.367e-05/0.08758, allocations: 180.3 kB / 473.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.236e-05/0.08764, allocations: 184.3 kB / 473.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.983e-05/0.0877, allocations: 184.2 kB / 473.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.08791, allocations: 417.1 kB / 474.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.82e-05/0.08794, allocations: 104.9 kB / 474.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.08798, allocations: 105.1 kB / 474.6 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.903e-05/0.08804, allocations: 188.2 kB / 474.7 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.0881, allocations: 180.3 kB / 474.9 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.914e-05/0.08815, allocations: 180.2 kB / 475.1 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-05/0.08821, allocations: 184.2 kB / 475.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.08832, allocations: 319.6 kB / 475.6 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.08842, allocations: 190 kB / 475.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.08848, allocations: 176.3 kB / 475.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.08855, allocations: 104.9 kB / 476 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.08862, allocations: 180.3 kB / 476.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.08866, allocations: 116.9 kB / 476.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.28e-05/0.08873, allocations: 105.6 kB / 476.4 MB, free: 15.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08874, allocations: 0 / 476.4 MB, free: 15.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000261/0.089, allocations: 15.94 kB / 476.4 MB, free: 15.27 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002994/0.08931, allocations: 0.8086 MB / 477.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007214/0.09004, allocations: 340.7 kB / 477.6 MB, free: 14.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.09006, allocations: 4 kB / 477.6 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.09006, allocations: 0 / 477.6 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.0904, allocations: 464 kB / 478 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.09187, allocations: 1.982 MB / 480 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.09211, allocations: 0.6924 MB / 480.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.09215, allocations: 7.938 kB / 480.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.09219, allocations: 19.44 kB / 480.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.0922, allocations: 0 / 480.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.1069, allocations: 1.809 MB / 482.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1071, allocations: 240.1 kB / 482.8 MB, free: 8.766 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.737, allocations: 3.375 kB / 482.8 MB, free: 8.766 MB / 318.1 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/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)