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.001653/0.001653, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001277/0.001277, allocations: 196.5 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03494/0.03494, allocations: 8.796 MB / 348.5 MB, free: 4.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 78.28 kB / 411.2 MB, free: 42.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08505, allocations: 51.56 MB / 462.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001782/0.08687, allocations: 0.5013 MB / 463.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005555/0.08745, allocations: 304.1 kB / 463.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.0875, allocations: 4 kB / 463.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.08755, allocations: 3.938 kB / 463.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.08794, allocations: 51.81 kB / 463.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.902e-05/0.08802, allocations: 15.98 kB / 463.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.08812, allocations: 31.8 kB / 463.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.08817, allocations: 4 kB / 463.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.408e-05/0.08824, allocations: 11.97 kB / 463.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.08857, allocations: 63.81 kB / 463.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.0886, allocations: 4 kB / 463.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.08862, allocations: 0 / 463.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.08868, allocations: 19.92 kB / 463.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.08873, allocations: 15.86 kB / 463.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.575e-05/0.08881, allocations: 27.92 kB / 463.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.08882, allocations: 0 / 463.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08882, allocations: 0 / 463.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.08883, allocations: 0 / 463.8 MB, free: 13.29 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.0005474/0.08938, allocations: 393.2 kB / 464.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.08943, allocations: 11.97 kB / 464.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.0895, allocations: 106 kB / 464.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.556e-05/0.08959, allocations: 84.12 kB / 464.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.0898, allocations: 261.3 kB / 464.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.08986, allocations: 150.9 kB / 464.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.984e-05/0.08993, allocations: 158.9 kB / 464.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.443e-05/0.09, allocations: 105.5 kB / 465 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.09003, allocations: 79.22 kB / 465.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.0901, allocations: 154.6 kB / 465.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.09015, allocations: 158.6 kB / 465.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.09022, allocations: 150.6 kB / 465.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.09055, allocations: 469.9 kB / 466 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.09064, allocations: 177.1 kB / 466.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.09068, allocations: 80.14 kB / 466.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.09072, allocations: 79.27 kB / 466.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.147e-05/0.09078, allocations: 113.8 kB / 466.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.09079, allocations: 0 / 466.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.142e-05/0.09088, allocations: 37.55 kB / 466.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.09093, allocations: 126.7 kB / 466.6 MB, free: 10.25 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.0001693/0.09111, allocations: 151.9 kB / 466.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.09113, allocations: 25.7 kB / 466.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.09119, allocations: 88.14 kB / 466.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-06/0.0912, allocations: 4 kB / 466.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.09125, allocations: 33.64 kB / 466.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.09136, allocations: 318.9 kB / 467.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.09141, allocations: 19.98 kB / 467.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-05/0.09148, allocations: 49.14 kB / 467.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.09158, allocations: 94.78 kB / 467.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.09159, allocations: 0 / 467.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004522/0.09205, allocations: 334.9 kB / 467.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.0921, allocations: 33.69 kB / 467.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.09211, allocations: 4 kB / 467.8 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.0923, allocations: 37.89 kB / 467.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.09254, allocations: 31.97 kB / 467.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.09615, allocations: 5.56 MB / 473.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.09623, allocations: 19.97 kB / 473.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.09625, allocations: 8 kB / 473.4 MB, free: 2.758 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.0001493/0.09641, allocations: 205 kB / 473.6 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.09648, allocations: 112.9 kB / 473.7 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.09655, allocations: 112.8 kB / 473.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.874e-05/0.09661, allocations: 180.3 kB / 474 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-05/0.09667, allocations: 180.2 kB / 474.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.93e-05/0.09673, allocations: 176.3 kB / 474.4 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.09696, allocations: 425.1 kB / 474.8 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/0.09701, allocations: 105 kB / 474.9 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.09704, allocations: 101 kB / 475 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.859e-05/0.09711, allocations: 188.2 kB / 475.2 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.09717, allocations: 180.3 kB / 475.3 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.007e-05/0.09723, allocations: 180.2 kB / 475.5 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.898e-05/0.09729, allocations: 184.5 kB / 475.7 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.09744, allocations: 315.6 kB / 476 MB, free: 16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.09753, allocations: 194 kB / 476.2 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.0976, allocations: 180.2 kB / 476.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.09768, allocations: 105 kB / 476.5 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.09774, allocations: 180.2 kB / 476.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.09779, allocations: 105 kB / 476.7 MB, free: 15.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.716e-05/0.09786, allocations: 117.1 kB / 476.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09787, allocations: 4 kB / 476.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.09815, allocations: 11.94 kB / 476.9 MB, free: 15.07 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.000345/0.0985, allocations: 0.8086 MB / 477.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007518/0.09926, allocations: 344.7 kB / 478 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.09927, allocations: 0 / 478 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.09928, allocations: 0 / 478 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.09964, allocations: 465.8 kB / 478.5 MB, free: 13.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1012, allocations: 1.982 MB / 480.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1015, allocations: 0.6923 MB / 481.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.282e-05/0.1015, allocations: 15.94 kB / 481.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.1016, allocations: 15.42 kB / 481.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1016, allocations: 0 / 481.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.126, allocations: 1.85 MB / 483 MB, free: 8.727 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.46, allocations: 17.92 kB / 483.1 MB, free: 8.715 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)