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/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.000845/0.000845, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.337/1.337, allocations: 223.3 MB / 239 MB, free: 5.43 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.0009837/0.0009837, allocations: 176.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03319/0.03319, allocations: 8.78 MB / 350.1 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003583, allocations: 9.344 kB / 413.3 MB, free: 42.96 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07964/0.08001, allocations: 52.55 MB / 465.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.0006871/0.08073, allocations: 246.3 kB / 466.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000666/0.08143, allocations: 286.6 kB / 466.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.08149, allocations: 3.938 kB / 466.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.101e-05/0.08155, allocations: 3.938 kB / 466.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.08195, allocations: 51.83 kB / 466.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.244e-05/0.08202, allocations: 3.984 kB / 466.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.08e-05/0.0821, allocations: 23.92 kB / 466.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.08216, allocations: 3.984 kB / 466.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.08222, allocations: 15.92 kB / 466.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.08258, allocations: 75.84 kB / 466.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.08261, allocations: 4 kB / 466.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.08263, allocations: 0 / 466.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.08268, allocations: 15.98 kB / 466.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.08273, allocations: 33.64 kB / 466.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.209e-05/0.0828, allocations: 24.25 kB / 466.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.08281, allocations: 3.984 kB / 466.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08281, allocations: 0 / 466.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.08282, allocations: 0 / 466.6 MB, free: 12.58 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.0004691/0.0833, allocations: 388.8 kB / 467 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.08335, allocations: 8.031 kB / 467 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.08341, allocations: 109.8 kB / 467.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.08348, allocations: 83.14 kB / 467.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.08368, allocations: 256.2 kB / 467.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.08374, allocations: 158.6 kB / 467.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.642e-05/0.08381, allocations: 150.6 kB / 467.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.591e-05/0.08387, allocations: 104.9 kB / 467.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.08391, allocations: 79.28 kB / 467.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.08396, allocations: 150.6 kB / 468.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.08402, allocations: 158.5 kB / 468.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.08408, allocations: 154.6 kB / 468.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.0844, allocations: 465.8 kB / 468.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.08448, allocations: 173.1 kB / 469 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.08452, allocations: 80.14 kB / 469.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.08455, allocations: 83.22 kB / 469.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.0846, allocations: 109.8 kB / 469.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.0846, allocations: 0 / 469.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.94e-05/0.08468, allocations: 29.7 kB / 469.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.08473, allocations: 130.7 kB / 469.4 MB, free: 9.562 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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.0001629/0.0849, allocations: 158.9 kB / 469.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.08492, allocations: 25.7 kB / 469.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.08498, allocations: 92.14 kB / 469.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.08499, allocations: 0 / 469.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.08499, allocations: 0 / 469.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.08509, allocations: 318.8 kB / 470 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.08514, allocations: 15.98 kB / 470 MB, free: 8.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.0852, allocations: 57.12 kB / 470.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.983e-05/0.08528, allocations: 57.62 kB / 470.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.08529, allocations: 0 / 470.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004363/0.08573, allocations: 323.1 kB / 470.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.08578, allocations: 45.64 kB / 470.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.08579, allocations: 0 / 470.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.08599, allocations: 37.7 kB / 470.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.08622, allocations: 31.97 kB / 470.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.08945, allocations: 5.17 MB / 475.7 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.08953, allocations: 11.98 kB / 475.7 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.08955, allocations: 4 kB / 475.7 MB, free: 2.582 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 (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.0001119/0.08967, allocations: 193.1 kB / 475.9 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.08975, allocations: 121 kB / 476 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.0898, allocations: 112.8 kB / 476.2 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.715e-05/0.08986, allocations: 176.3 kB / 476.3 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.823e-05/0.08992, allocations: 184.2 kB / 476.5 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.2e-05/0.08999, allocations: 180.2 kB / 476.7 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.09022, allocations: 429.1 kB / 477.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/0.09026, allocations: 101 kB / 477.2 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.0903, allocations: 105 kB / 477.3 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-05/0.09036, allocations: 180.2 kB / 477.5 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.09043, allocations: 180.3 kB / 477.7 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.87e-05/0.0905, allocations: 184.2 kB / 477.8 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.944e-05/0.09058, allocations: 184.5 kB / 478 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.09073, allocations: 315.6 kB / 478.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.09082, allocations: 193.9 kB / 478.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.09089, allocations: 184.2 kB / 478.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.09097, allocations: 109 kB / 478.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.09104, allocations: 184.2 kB / 479 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.09108, allocations: 101 kB / 479.1 MB, free: 15.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.665e-05/0.09116, allocations: 113.4 kB / 479.2 MB, free: 14.9 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09117, allocations: 0 / 479.2 MB, free: 14.9 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.09146, allocations: 8 kB / 479.2 MB, free: 14.89 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 (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.0003581/0.09182, allocations: 0.8126 MB / 480 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.09255, allocations: 352.8 kB / 480.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.09257, allocations: 0 / 480.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.09258, allocations: 0 / 480.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.09291, allocations: 0.5208 MB / 480.9 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.09377, allocations: 0.7672 MB / 481.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.094, allocations: 0.6926 MB / 482.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.901e-05/0.09404, allocations: 4 kB / 482.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.09408, allocations: 19.42 kB / 482.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09408, allocations: 4 kB / 482.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.1063, allocations: 1.683 MB / 484 MB, free: 10.02 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.1065, allocations: 220.8 kB / 484.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.707, allocations: 0 / 484.3 MB, free: 9.781 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/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) Environment - environmentSimulation: