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.001601/0.001602, 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.457/1.457, allocations: 222.9 MB / 239.3 MB, free: 4.621 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.001242/0.001242, allocations: 195.6 kB / 289.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03529/0.03529, allocations: 8.789 MB / 348.5 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 77.16 kB / 411.2 MB, free: 42.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08282/0.08453, allocations: 51.56 MB / 462.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001619/0.08619, allocations: 0.5012 MB / 463.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005356/0.08675, allocations: 311.3 kB / 463.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.08679, allocations: 4 kB / 463.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.08683, allocations: 0 / 463.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.08717, allocations: 55.75 kB / 463.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.467e-05/0.08724, allocations: 15.98 kB / 463.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.08732, allocations: 27.86 kB / 463.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.372e-05/0.08736, allocations: 0 / 463.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.08742, allocations: 8 kB / 463.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.08768, allocations: 63.86 kB / 463.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.08771, allocations: 3.938 kB / 463.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.08773, allocations: 4 kB / 463.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.08778, allocations: 23.91 kB / 463.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.08782, allocations: 15.88 kB / 463.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.09e-05/0.08789, allocations: 19.92 kB / 463.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.0879, allocations: 0 / 463.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08791, allocations: 3.938 kB / 463.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.08792, allocations: 4 kB / 463.8 MB, free: 13.22 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.000458/0.08838, allocations: 397.2 kB / 464.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.08842, allocations: 11.97 kB / 464.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.08848, allocations: 106 kB / 464.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.08855, allocations: 84.12 kB / 464.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.08875, allocations: 259.5 kB / 464.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.08881, allocations: 150.9 kB / 464.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.08887, allocations: 158.9 kB / 464.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.152e-05/0.08893, allocations: 101.5 kB / 465 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.08896, allocations: 79.22 kB / 465.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.08901, allocations: 154.6 kB / 465.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.08907, allocations: 154.5 kB / 465.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.08912, allocations: 154.6 kB / 465.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.08938, allocations: 473.9 kB / 466 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.08946, allocations: 165.1 kB / 466.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.08949, allocations: 80.14 kB / 466.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.08953, allocations: 83.22 kB / 466.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.08959, allocations: 113.8 kB / 466.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.0896, allocations: 0 / 466.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001087/0.08971, allocations: 41.53 kB / 466.5 MB, free: 10.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.08979, allocations: 126.7 kB / 466.6 MB, free: 10.18 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.0002116/0.09001, allocations: 147.8 kB / 466.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.09003, allocations: 25.7 kB / 466.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.09008, allocations: 92.12 kB / 466.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.09009, allocations: 4 kB / 466.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.09014, allocations: 25.72 kB / 466.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.09025, allocations: 322.9 kB / 467.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.09029, allocations: 15.98 kB / 467.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.09035, allocations: 57.08 kB / 467.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.643e-05/0.09046, allocations: 90.8 kB / 467.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09046, allocations: 0 / 467.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004244/0.09089, allocations: 327 kB / 467.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.09094, allocations: 33.7 kB / 467.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.09095, allocations: 0 / 467.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.09114, allocations: 57.8 kB / 467.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.09137, allocations: 27.92 kB / 467.8 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.09468, allocations: 5.564 MB / 473.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.09476, allocations: 15.94 kB / 473.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.09478, allocations: 8 kB / 473.4 MB, free: 2.684 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.0001047/0.09489, allocations: 205 kB / 473.6 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.09496, allocations: 109 kB / 473.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.095, allocations: 108.8 kB / 473.8 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/0.09506, allocations: 184.3 kB / 474 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.553e-05/0.09512, allocations: 184.2 kB / 474.2 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.731e-05/0.09517, allocations: 176.3 kB / 474.4 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.09541, allocations: 421.1 kB / 474.8 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/0.09546, allocations: 105 kB / 474.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.0955, allocations: 101 kB / 475 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.607e-05/0.09556, allocations: 192.2 kB / 475.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.09562, allocations: 176.3 kB / 475.3 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.532e-05/0.09568, allocations: 188.2 kB / 475.5 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.65e-05/0.09574, allocations: 176.5 kB / 475.7 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.09587, allocations: 319.6 kB / 476 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.09595, allocations: 190 kB / 476.2 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.09601, allocations: 180.2 kB / 476.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.09609, allocations: 105 kB / 476.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.09615, allocations: 180.3 kB / 476.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.09619, allocations: 104.9 kB / 476.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.09627, allocations: 117.6 kB / 476.9 MB, free: 15.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09628, allocations: 0 / 476.9 MB, free: 15.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.09654, allocations: 11.94 kB / 476.9 MB, free: 15 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.0003281/0.09687, allocations: 0.8009 MB / 477.7 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007572/0.09764, allocations: 356.7 kB / 478 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/0.09767, allocations: 0 / 478 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.09768, allocations: 3.938 kB / 478 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.09806, allocations: 462.5 kB / 478.5 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.09976, allocations: 1.983 MB / 480.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.1, allocations: 0.6924 MB / 481.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.1001, allocations: 8 kB / 481.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.1001, allocations: 19.42 kB / 481.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1001, allocations: 0 / 481.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.1196, allocations: 1.854 MB / 483 MB, free: 8.648 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.51, allocations: 14.05 kB / 483 MB, free: 8.641 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.InitializationParameters_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)