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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0622/0.0622, allocations: 8.723 MB / 16.79 MB, free: 3.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.5 MB / 240.9 MB, free: 13.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009667/0.000967, allocations: 92.09 kB / 293.8 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.551e-05, allocations: 0 / 352.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 52.54 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3813/0.4988, allocations: 76.5 MB / 481.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.499, allocations: 61.97 kB / 481.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004464/0.5035, allocations: 1.524 MB / 483.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5035, allocations: 3.375 kB / 483.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.5035, allocations: 0 / 483.4 MB, free: 9.52 MB / 346.7 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.0002826/0.5038, allocations: 388 kB / 483.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5039, allocations: 11.98 kB / 483.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.5039, allocations: 82.56 kB / 483.8 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.504, allocations: 248.9 kB / 484.1 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.5041, allocations: 150.6 kB / 484.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.5041, allocations: 154.6 kB / 484.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.122e-05/0.5041, allocations: 154.7 kB / 484.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.44e-05/0.5042, allocations: 112.9 kB / 484.6 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5042, allocations: 75.28 kB / 484.7 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.5042, allocations: 154.5 kB / 484.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.5043, allocations: 150.6 kB / 485 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.5045, allocations: 450.2 kB / 485.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.5045, allocations: 165.1 kB / 485.6 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.5045, allocations: 87.89 kB / 485.7 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.5045, allocations: 75.28 kB / 485.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5046, allocations: 105.8 kB / 485.9 MB, free: 6.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.974e-06/0.5046, allocations: 5.031 kB / 485.9 MB, free: 6.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 6.985e-05/0.5047, allocations: 38.34 kB / 485.9 MB, free: 6.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.381e-05/0.5047, allocations: 55.34 kB / 486 MB, free: 6.762 MB / 346.7 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.0001379/0.5048, allocations: 139.2 kB / 486.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.5048, allocations: 25.7 kB / 486.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.5049, allocations: 91.92 kB / 486.2 MB, free: 6.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.5049, allocations: 0 / 486.2 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.5049, allocations: 0 / 486.2 MB, free: 6.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.505, allocations: 314.8 kB / 486.5 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.505, allocations: 19.88 kB / 486.5 MB, free: 6.176 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.5051, allocations: 52.7 kB / 486.6 MB, free: 6.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.5051, allocations: 25.33 kB / 486.6 MB, free: 6.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5051, allocations: 4 kB / 486.6 MB, free: 6.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003576/0.5055, allocations: 285 kB / 486.9 MB, free: 5.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.5055, allocations: 29.7 kB / 486.9 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5055, allocations: 4 kB / 486.9 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.5057, allocations: 45.69 kB / 487 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.506, allocations: 23.98 kB / 487 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.5084, allocations: 4.955 MB / 492 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.5084, allocations: 7.969 kB / 492 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.5085, allocations: 4.625 kB / 492 MB, free: 332 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: e:VARIABLE(fixed = false ) type: Real 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 () * 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.0001102/0.5086, allocations: 187.7 kB / 492.2 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.728e-05/0.5087, allocations: 146.5 kB / 492.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.5087, allocations: 109.2 kB / 492.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.5088, allocations: 109 kB / 492.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/0.5089, allocations: 184.2 kB / 492.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.433e-05/0.509, allocations: 182 kB / 492.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.016e-05/0.509, allocations: 183.3 kB / 493 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.5092, allocations: 396 kB / 493.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-05/0.5093, allocations: 101 kB / 493.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.5093, allocations: 105 kB / 493.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-05/0.5094, allocations: 188.8 kB / 493.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.5095, allocations: 183.8 kB / 494 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.426e-05/0.5095, allocations: 176.3 kB / 494.2 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.84e-05/0.5096, allocations: 184.2 kB / 494.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5098, allocations: 303.8 kB / 494.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.5099, allocations: 190.1 kB / 494.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.5099, allocations: 184.2 kB / 495 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.578e-05/0.51, allocations: 105.8 kB / 495.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.5101, allocations: 188.2 kB / 495.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.5101, allocations: 102 kB / 495.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.729e-05/0.5102, allocations: 112.9 kB / 495.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5102, allocations: 0 / 495.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.5105, allocations: 13.12 kB / 495.5 MB, free: 12.58 MB / 362.7 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 () * 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.0003762/0.5109, allocations: 0.8083 MB / 496.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.5116, allocations: 322.2 kB / 496.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5116, allocations: 0 / 496.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.5116, allocations: 384 / 496.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.512, allocations: 0.5343 MB / 497.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.5123, allocations: 200.3 kB / 497.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.5126, allocations: 0.6963 MB / 498.1 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.99e-05/0.5126, allocations: 4 kB / 498.1 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.5127, allocations: 19.05 kB / 498.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5127, allocations: 0.9375 kB / 498.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.5326, allocations: 1.219 MB / 499.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.5328, allocations: 139.8 kB / 499.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.046, allocations: 4 kB / 499.5 MB, free: 8.551 MB / 362.7 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)