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-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.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.007725/0.007725, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.496/1.496, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001553/0.001553, allocations: 188.4 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03563/0.03563, allocations: 8.808 MB / 348.7 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 80.16 kB / 463.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1069, allocations: 51.55 MB / 0.5029 GB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002338/0.1092, allocations: 1.186 MB / 0.504 GB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 5.528e-05/0.1093, allocations: 11.97 kB / 0.5041 GB, free: 8.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.1094, allocations: 0 / 0.5041 GB, free: 8.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.1094, allocations: 3.938 kB / 0.5041 GB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.1095, allocations: 4 kB / 0.5041 GB, free: 8.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.119e-05/0.1095, allocations: 0 / 0.5041 GB, free: 8.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.1096, allocations: 11.94 kB / 0.5041 GB, free: 8.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.1097, allocations: 7.984 kB / 0.5041 GB, free: 8.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.1097, allocations: 7.938 kB / 0.5041 GB, free: 8.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.1098, allocations: 0 / 0.5041 GB, free: 8.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1098, allocations: 4 kB / 0.5041 GB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-06/0.1098, allocations: 4 kB / 0.5041 GB, free: 8.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.1098, allocations: 0 / 0.5041 GB, free: 8.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1099, allocations: 3.938 kB / 0.5041 GB, free: 8.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.846e-05/0.1099, allocations: 7.984 kB / 0.5041 GB, free: 8.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1099, allocations: 0 / 0.5041 GB, free: 8.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1099, allocations: 3.984 kB / 0.5041 GB, free: 8.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.11, allocations: 0 / 0.5041 GB, free: 8.773 MB / 350.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.0004209/0.1104, allocations: 315.6 kB / 0.5044 GB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1104, allocations: 8.031 kB / 0.5044 GB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.1105, allocations: 42.73 kB / 0.5045 GB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.1105, allocations: 4.844 kB / 0.5045 GB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1107, allocations: 160.7 kB / 0.5046 GB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1107, allocations: 384 / 0.5046 GB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1107, allocations: 384 / 0.5046 GB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.1108, allocations: 47.92 kB / 0.5047 GB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1108, allocations: 7.938 kB / 0.5047 GB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1108, allocations: 3.984 kB / 0.5047 GB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1109, allocations: 4 kB / 0.5047 GB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.1109, allocations: 0 / 0.5047 GB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.1114, allocations: 198.5 kB / 0.5049 GB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.552e-05/0.1114, allocations: 41.16 kB / 0.5049 GB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.1115, allocations: 13.72 kB / 0.5049 GB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.1115, allocations: 0 / 0.5049 GB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1115, allocations: 38.56 kB / 0.505 GB, free: 7.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.1115, allocations: 0 / 0.505 GB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000155/0.1117, allocations: 49.56 kB / 0.505 GB, free: 7.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.1118, allocations: 89.3 kB / 0.5051 GB, free: 7.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.1119, allocations: 89.86 kB / 0.5052 GB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1119, allocations: 25.7 kB / 0.5052 GB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1119, allocations: 88.14 kB / 0.5053 GB, free: 7.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.112, allocations: 3.906 kB / 0.5053 GB, free: 7.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.112, allocations: 13.7 kB / 0.5053 GB, free: 7.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1121, allocations: 314.8 kB / 0.5056 GB, free: 6.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.1121, allocations: 8.125 kB / 0.5056 GB, free: 6.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.1122, allocations: 13.72 kB / 0.5056 GB, free: 6.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.217e-05/0.1122, allocations: 17.72 kB / 0.5056 GB, free: 6.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1122, allocations: 0 / 0.5056 GB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.101e-05/0.1123, allocations: 41.62 kB / 0.5057 GB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1123, allocations: 11.94 kB / 0.5057 GB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1123, allocations: 4.125 kB / 0.5057 GB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1123, allocations: 0 / 0.5057 GB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1125, allocations: 23.98 kB / 0.5057 GB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.1144, allocations: 2.727 MB / 0.5084 GB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.1144, allocations: 4.031 kB / 0.5084 GB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.1144, allocations: 0 / 0.5084 GB, free: 3.852 MB / 350.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 (not torn): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 8.036e-05/0.1145, allocations: 117.8 kB / 0.5085 GB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.1145, allocations: 7.938 kB / 0.5085 GB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.1146, allocations: 7.125 kB / 0.5085 GB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1146, allocations: 0 / 0.5085 GB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.1146, allocations: 0 / 0.5085 GB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1146, allocations: 4 kB / 0.5085 GB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.1149, allocations: 185.6 kB / 0.5087 GB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1149, allocations: 4 kB / 0.5087 GB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1151, allocations: 23.98 kB / 0.5087 GB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1151, allocations: 3.938 kB / 0.5087 GB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1151, allocations: 4 kB / 0.5087 GB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.1166, allocations: 2.727 MB / 0.5114 GB, free: 448 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1166, allocations: 0 / 0.5114 GB, free: 448 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.195e-05/0.1167, allocations: 70.06 kB / 0.5115 GB, free: 356 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.1168, allocations: 89.05 kB / 0.5115 GB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.1168, allocations: 3.984 kB / 0.5115 GB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.1168, allocations: 7.875 kB / 0.5116 GB, free: 236 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.1169, allocations: 4 kB / 0.5116 GB, free: 232 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1169, allocations: 0 / 0.5116 GB, free: 232 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.786e-05/0.1169, allocations: 75.28 kB / 0.5116 GB, free: 156 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1169, allocations: 4.125 kB / 0.5116 GB, free: 152 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1172, allocations: 4 kB / 0.5116 GB, free: 148 kB / 350.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 (not torn): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0004161/0.1176, allocations: 0.6054 MB / 0.5122 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.1181, allocations: 40 kB / 0.5123 GB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1181, allocations: 0 / 0.5123 GB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.1185, allocations: 39.89 kB / 0.5123 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.1187, allocations: 4.25 kB / 0.5123 GB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.1191, allocations: 136 kB / 0.5124 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1194, allocations: 0.6844 MB / 0.5131 GB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.279e-05/0.1195, allocations: 19.98 kB / 0.5131 GB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.1196, allocations: 27.41 kB / 0.5132 GB, free: 14.49 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1196, allocations: 0 / 0.5132 GB, free: 14.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.136, allocations: 1.75 MB / 0.5149 GB, free: 12.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.528, allocations: 10.88 kB / 0.5149 GB, free: 12.8 MB / 366.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/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)