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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.324/1.324, allocations: 222.9 MB / 238.9 MB, free: 4.742 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.001224/0.001224, allocations: 192.4 kB / 289.1 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03355/0.03355, allocations: 8.806 MB / 348.1 MB, free: 4.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 81.27 kB / 410.5 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08379/0.0852, allocations: 51.56 MB / 462.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001675/0.08691, allocations: 0.5675 MB / 462.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005566/0.08749, allocations: 308.1 kB / 462.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.08753, allocations: 4 kB / 462.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.08757, allocations: 0 / 462.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.08788, allocations: 47.83 kB / 463 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.907e-05/0.08794, allocations: 15.97 kB / 463 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.08801, allocations: 27.86 kB / 463 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.08805, allocations: 0 / 463 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.08812, allocations: 11.98 kB / 463 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.08841, allocations: 71.86 kB / 463.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.08843, allocations: 4 kB / 463.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.08845, allocations: 0 / 463.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.08851, allocations: 23.92 kB / 463.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.08855, allocations: 15.86 kB / 463.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.905e-05/0.08861, allocations: 31.91 kB / 463.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.08862, allocations: 0 / 463.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.08862, allocations: 0 / 463.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.08863, allocations: 0 / 463.2 MB, free: 13.65 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.0004641/0.0891, allocations: 397.2 kB / 463.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.08915, allocations: 12.03 kB / 463.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.08919, allocations: 106 kB / 463.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.08926, allocations: 84.12 kB / 463.8 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.08943, allocations: 255.5 kB / 464 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/0.08948, allocations: 154.9 kB / 464.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.08954, allocations: 162.9 kB / 464.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.389e-05/0.0896, allocations: 101.5 kB / 464.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.449e-05/0.08964, allocations: 79.22 kB / 464.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.08969, allocations: 150.6 kB / 464.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.08975, allocations: 150.6 kB / 464.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.0898, allocations: 158.5 kB / 465 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.09012, allocations: 473.9 kB / 465.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.0902, allocations: 165.1 kB / 465.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.09024, allocations: 80.14 kB / 465.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.09027, allocations: 75.28 kB / 465.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.09032, allocations: 117.8 kB / 465.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.09032, allocations: 3.984 kB / 465.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.79e-05/0.0904, allocations: 37.48 kB / 465.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.09045, allocations: 130.7 kB / 466 MB, free: 10.61 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.0001568/0.09061, allocations: 156 kB / 466.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.09064, allocations: 25.7 kB / 466.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.09072, allocations: 96.11 kB / 466.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.09073, allocations: 0 / 466.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.0908, allocations: 25.72 kB / 466.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.09092, allocations: 318.8 kB / 466.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.09097, allocations: 16 kB / 466.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.09103, allocations: 57.14 kB / 466.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.09114, allocations: 94.72 kB / 466.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.09116, allocations: 4 kB / 466.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004205/0.09158, allocations: 327.1 kB / 467.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.09162, allocations: 33.7 kB / 467.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.09163, allocations: 0 / 467.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.09183, allocations: 41.69 kB / 467.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.09206, allocations: 36.02 kB / 467.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.09558, allocations: 5.177 MB / 472.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.09566, allocations: 7.969 kB / 472.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.09568, allocations: 7.938 kB / 472.4 MB, free: 3.531 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.0001245/0.09581, allocations: 209.9 kB / 472.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.09588, allocations: 112.8 kB / 472.7 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/0.09593, allocations: 108.9 kB / 472.8 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.704e-05/0.096, allocations: 184.2 kB / 473 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-05/0.09607, allocations: 180.2 kB / 473.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.141e-05/0.09615, allocations: 184.2 kB / 473.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.0964, allocations: 417.2 kB / 473.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.384e-05/0.09645, allocations: 101 kB / 473.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.09649, allocations: 108.9 kB / 474 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.029e-05/0.09658, allocations: 184.2 kB / 474.2 MB, free: 1.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.864e-05/0.09667, allocations: 180.2 kB / 474.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-05/0.09675, allocations: 180.5 kB / 474.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.66e-05/0.09684, allocations: 176.3 kB / 474.7 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.09701, allocations: 327.6 kB / 475 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.09714, allocations: 185.9 kB / 475.2 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.09722, allocations: 180.3 kB / 475.4 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.09731, allocations: 109 kB / 475.5 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.09739, allocations: 184.2 kB / 475.7 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.09746, allocations: 101 kB / 475.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.541e-05/0.09755, allocations: 117.2 kB / 475.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09756, allocations: 0 / 475.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.09789, allocations: 12 kB / 475.9 MB, free: 15.84 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.0003843/0.09828, allocations: 0.8087 MB / 476.7 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007808/0.09907, allocations: 348.8 kB / 477 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.09909, allocations: 0 / 477 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.09909, allocations: 0 / 477 MB, free: 14.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.09951, allocations: 0.5263 MB / 477.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1012, allocations: 1.992 MB / 479.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1014, allocations: 0.6887 MB / 480.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.979e-05/0.1015, allocations: 4 kB / 480.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.1015, allocations: 19.42 kB / 480.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1015, allocations: 4 kB / 480.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.1155, allocations: 1.754 MB / 482 MB, free: 9.543 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.1157, allocations: 238.3 kB / 482.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.716, allocations: 0 / 482.2 MB, free: 9.289 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)