Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",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.001044/0.001044, allocations: 100.1 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.337/1.337, allocations: 223.2 MB / 238.9 MB, free: 5.48 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.001234/0.001234, allocations: 185 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03193/0.03193, allocations: 8.78 MB / 350 MB, free: 4.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.000385, allocations: 13.41 kB / 413.2 MB, free: 42.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08999/0.09039, allocations: 52.55 MB / 465.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001246/0.09168, allocations: 0.9081 MB / 466.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 4.141e-05/0.09173, allocations: 8 kB / 466.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.09176, allocations: 0 / 466.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.09178, allocations: 0 / 466.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.09182, allocations: 0 / 466.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.54e-05/0.09187, allocations: 7.984 kB / 466.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.263e-05/0.09192, allocations: 11.98 kB / 466.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.09197, allocations: 0 / 466.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.092, allocations: 7.938 kB / 466.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.09204, allocations: 0 / 466.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.09206, allocations: 0 / 466.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.09208, allocations: 0 / 466.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/0.09209, allocations: 4 kB / 466.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.09212, allocations: 25.7 kB / 466.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 2.653e-05/0.09215, allocations: 3.984 kB / 466.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.09216, allocations: 0 / 466.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09217, allocations: 8 kB / 466.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.09218, allocations: 0 / 466.7 MB, free: 12.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003189/0.0925, allocations: 319.5 kB / 467 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.09255, allocations: 8.031 kB / 467 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.09259, allocations: 42.5 kB / 467.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.09261, allocations: 3.953 kB / 467.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.09273, allocations: 167 kB / 467.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.09275, allocations: 0 / 467.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.09276, allocations: 0 / 467.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.09286, allocations: 47.41 kB / 467.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.09288, allocations: 7.938 kB / 467.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.0929, allocations: 4 kB / 467.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.09291, allocations: 3.953 kB / 467.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.09293, allocations: 7.938 kB / 467.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.09338, allocations: 194.6 kB / 467.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.774e-05/0.09344, allocations: 33.22 kB / 467.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.09346, allocations: 0 / 467.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.09348, allocations: 34.5 kB / 467.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.09349, allocations: 4 kB / 467.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001392/0.09363, allocations: 45.75 kB / 467.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.09368, allocations: 81.05 kB / 467.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.09376, allocations: 97.81 kB / 467.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.09378, allocations: 29.7 kB / 467.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.09382, allocations: 84.12 kB / 467.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.09385, allocations: 4.281 kB / 467.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.09386, allocations: 4 kB / 467.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.09397, allocations: 318.8 kB / 468.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.133e-05/0.09399, allocations: 4 kB / 468.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.09401, allocations: 9.719 kB / 468.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.761e-05/0.09403, allocations: 4 kB / 468.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.09404, allocations: 0 / 468.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.105e-05/0.0941, allocations: 49.69 kB / 468.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.09412, allocations: 8 kB / 468.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.09413, allocations: 0 / 468.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.09415, allocations: 0 / 468.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.09433, allocations: 23.98 kB / 468.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.09585, allocations: 2.55 MB / 470.9 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.361e-05/0.09589, allocations: 4.031 kB / 470.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.0959, allocations: 0 / 470.9 MB, free: 7.738 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * 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): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 7.761e-05/0.09599, allocations: 113.8 kB / 471 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.096, allocations: 7.938 kB / 471 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.103e-05/0.09602, allocations: 7.266 kB / 471 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.09603, allocations: 4 kB / 471 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.09604, allocations: 0 / 471 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.09605, allocations: 7.953 kB / 471 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.09639, allocations: 181.7 kB / 471.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.0964, allocations: 4 kB / 471.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.09656, allocations: 27.98 kB / 471.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.09658, allocations: 4 kB / 471.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.09659, allocations: 0 / 471.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.09788, allocations: 2.538 MB / 473.8 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.09789, allocations: 4.016 kB / 473.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.597e-05/0.09798, allocations: 83.69 kB / 473.8 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.09802, allocations: 93.02 kB / 473.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-06/0.09804, allocations: 0 / 473.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.09807, allocations: 3.953 kB / 473.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.09809, allocations: 4.031 kB / 473.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.0981, allocations: 4 kB / 473.9 MB, free: 4.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.158e-05/0.09814, allocations: 79.28 kB / 474 MB, free: 4.219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09814, allocations: 0 / 474 MB, free: 4.219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002061/0.09835, allocations: 4 kB / 474 MB, free: 4.215 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * 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): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0003256/0.09868, allocations: 0.6838 MB / 474.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004611/0.09915, allocations: 35.91 kB / 474.7 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.09917, allocations: 4.156 kB / 474.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.09953, allocations: 35.97 kB / 474.8 MB, free: 3.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.09965, allocations: 5.562 kB / 474.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.1001, allocations: 151.2 kB / 474.9 MB, free: 3.223 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1003, allocations: 0.6848 MB / 475.6 MB, free: 2.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.1004, allocations: 20 kB / 475.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.1005, allocations: 23.41 kB / 475.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1005, allocations: 0 / 475.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.1112, allocations: 1.532 MB / 477.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.1115, allocations: 174.3 kB / 477.4 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.643, allocations: 0 / 477.4 MB, free: 0.8008 MB / 302.1 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_Attributes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) Environment - environmentSimulation: