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.0008946/0.0008945, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.319/1.319, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.001076/0.001076, allocations: 183.6 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.0319/0.0319, allocations: 8.788 MB / 350.1 MB, free: 4.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 9.312 kB / 413.2 MB, free: 42.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 52.56 MB / 465.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.0006419/0.1034, allocations: 238.3 kB / 466 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005923/0.104, allocations: 284.3 kB / 466.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.1041, allocations: 0 / 466.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.1041, allocations: 7.938 kB / 466.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.1045, allocations: 43.88 kB / 466.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.734e-05/0.1045, allocations: 11.94 kB / 466.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.541e-05/0.1046, allocations: 19.97 kB / 466.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.1047, allocations: 0 / 466.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.1047, allocations: 15.92 kB / 466.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.1051, allocations: 71.91 kB / 466.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1051, allocations: 0 / 466.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.1051, allocations: 0 / 466.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.1051, allocations: 15.92 kB / 466.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.1052, allocations: 33.7 kB / 466.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.452e-05/0.1052, allocations: 19.97 kB / 466.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1053, allocations: 4 kB / 466.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1053, allocations: 0 / 466.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1053, allocations: 0 / 466.5 MB, free: 12.68 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.0005149/0.1058, allocations: 389.1 kB / 466.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1058, allocations: 8.031 kB / 466.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.1059, allocations: 117.8 kB / 467 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.106, allocations: 83.14 kB / 467.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1062, allocations: 250.3 kB / 467.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.1063, allocations: 158.5 kB / 467.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.1063, allocations: 154.6 kB / 467.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.642e-05/0.1064, allocations: 105 kB / 467.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.1064, allocations: 79.28 kB / 467.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.1065, allocations: 154.6 kB / 467.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.54e-05/0.1066, allocations: 154.5 kB / 468.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.227e-05/0.1066, allocations: 154.5 kB / 468.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.107, allocations: 469.8 kB / 468.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.1071, allocations: 175 kB / 468.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.1071, allocations: 79.22 kB / 468.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.1072, allocations: 105.8 kB / 469.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1072, allocations: 0 / 469.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.166e-05/0.1073, allocations: 33.64 kB / 469.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.1073, allocations: 126.7 kB / 469.2 MB, free: 9.734 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.0001967/0.1075, allocations: 155.3 kB / 469.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1076, allocations: 33.7 kB / 469.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.1077, allocations: 92.12 kB / 469.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.1077, allocations: 0 / 469.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1077, allocations: 0 / 469.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1078, allocations: 314.8 kB / 469.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.1079, allocations: 15.98 kB / 469.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1079, allocations: 57.14 kB / 469.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.858e-05/0.108, allocations: 49.64 kB / 469.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.108, allocations: 0 / 469.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004688/0.1085, allocations: 327.2 kB / 470.2 MB, free: 8.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.1085, allocations: 37.66 kB / 470.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1085, allocations: 0 / 470.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.1087, allocations: 41.69 kB / 470.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.109, allocations: 31.98 kB / 470.3 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.1126, allocations: 5.202 MB / 475.5 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.1126, allocations: 4 kB / 475.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1127, allocations: 4 kB / 475.5 MB, free: 2.738 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.0001363/0.1128, allocations: 205.3 kB / 475.7 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.1129, allocations: 108.9 kB / 475.9 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.1129, allocations: 108.8 kB / 476 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/0.113, allocations: 184.3 kB / 476.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.838e-05/0.1131, allocations: 184.2 kB / 476.3 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/0.1132, allocations: 184.2 kB / 476.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.1134, allocations: 421.2 kB / 476.9 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.131e-05/0.1135, allocations: 108.9 kB / 477 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1135, allocations: 101 kB / 477.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-05/0.1136, allocations: 188.2 kB / 477.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.382e-05/0.1137, allocations: 180.2 kB / 477.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.124e-05/0.1138, allocations: 184.3 kB / 477.7 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.951e-05/0.1139, allocations: 180.2 kB / 477.8 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1141, allocations: 319.9 kB / 478.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1142, allocations: 190 kB / 478.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.1143, allocations: 176.3 kB / 478.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.1144, allocations: 108.9 kB / 478.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.1144, allocations: 188.2 kB / 478.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.1145, allocations: 108.9 kB / 478.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.882e-05/0.1146, allocations: 109.3 kB / 479 MB, free: 15.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1146, allocations: 0 / 479 MB, free: 15.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.1149, allocations: 12 kB / 479 MB, free: 15.04 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.0003577/0.1152, allocations: 0.8048 MB / 479.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007456/0.116, allocations: 352.8 kB / 480.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.116, allocations: 0 / 480.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.116, allocations: 0 / 480.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.1163, allocations: 0.5224 MB / 480.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.1171, allocations: 1.198 MB / 481.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1174, allocations: 0.7004 MB / 482.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.767e-05/0.1174, allocations: 0 / 482.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.1175, allocations: 15.42 kB / 482.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1175, allocations: 0 / 482.6 MB, free: 11.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.1297, allocations: 1.657 MB / 484.3 MB, free: 9.801 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.1299, allocations: 211.5 kB / 484.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.663, allocations: 0 / 484.5 MB, free: 9.566 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: