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.01013/0.01013, allocations: 98.89 kB / 15.73 MB, free: 6.031 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.478/1.478, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001556/0.001557, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03792/0.03792, allocations: 8.807 MB / 348.7 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 79.86 kB / 463.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1086, allocations: 51.56 MB / 0.5029 GB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002412/0.111, allocations: 1.179 MB / 0.504 GB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 3.819e-05/0.1111, allocations: 7.984 kB / 0.5041 GB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.1111, allocations: 0 / 0.5041 GB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.1111, allocations: 0 / 0.5041 GB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.617e-05/0.1112, allocations: 11.92 kB / 0.5041 GB, free: 8.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.389e-05/0.1112, allocations: 0 / 0.5041 GB, free: 8.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.1113, allocations: 11.94 kB / 0.5041 GB, free: 8.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.1114, allocations: 8 kB / 0.5041 GB, free: 8.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.1114, allocations: 7.922 kB / 0.5041 GB, free: 8.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.223e-05/0.1114, allocations: 4 kB / 0.5041 GB, free: 8.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1114, allocations: 0 / 0.5041 GB, free: 8.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-06/0.1115, allocations: 0 / 0.5041 GB, free: 8.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.1115, allocations: 0 / 0.5041 GB, free: 8.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1115, allocations: 7.938 kB / 0.5041 GB, free: 8.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.928e-05/0.1116, allocations: 12.2 kB / 0.5041 GB, free: 8.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1116, allocations: 4 kB / 0.5041 GB, free: 8.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1116, allocations: 0 / 0.5041 GB, free: 8.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1116, allocations: 0 / 0.5041 GB, free: 8.785 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.0004096/0.112, allocations: 319.5 kB / 0.5044 GB, free: 8.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.112, allocations: 12.03 kB / 0.5044 GB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.1121, allocations: 30.75 kB / 0.5045 GB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.806e-05/0.1121, allocations: 0.9375 kB / 0.5045 GB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1122, allocations: 168.3 kB / 0.5046 GB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.1123, allocations: 8.375 kB / 0.5046 GB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.1123, allocations: 384 / 0.5046 GB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.88e-05/0.1124, allocations: 47.92 kB / 0.5047 GB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1124, allocations: 7.938 kB / 0.5047 GB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1124, allocations: 3.984 kB / 0.5047 GB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1124, allocations: 0 / 0.5047 GB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.874e-05/0.1124, allocations: 4 kB / 0.5047 GB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.1129, allocations: 194.5 kB / 0.5049 GB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.113, allocations: 45.06 kB / 0.5049 GB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.113, allocations: 13.84 kB / 0.5049 GB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.113, allocations: 4 kB / 0.5049 GB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1131, allocations: 34.5 kB / 0.505 GB, free: 7.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1131, allocations: 0 / 0.505 GB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.1132, allocations: 53.56 kB / 0.505 GB, free: 7.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.1133, allocations: 77.11 kB / 0.5051 GB, free: 7.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.1134, allocations: 102.1 kB / 0.5052 GB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1134, allocations: 25.7 kB / 0.5052 GB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1135, allocations: 80.14 kB / 0.5053 GB, free: 7.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.1136, allocations: 7.891 kB / 0.5053 GB, free: 7.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1136, allocations: 13.72 kB / 0.5053 GB, free: 7.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.1138, allocations: 318.8 kB / 0.5056 GB, free: 6.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1138, allocations: 0 / 0.5056 GB, free: 6.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.1139, allocations: 13.84 kB / 0.5056 GB, free: 6.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.1139, allocations: 21.78 kB / 0.5057 GB, free: 6.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1139, allocations: 4 kB / 0.5057 GB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.874e-05/0.114, allocations: 45.58 kB / 0.5057 GB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.114, allocations: 7.938 kB / 0.5057 GB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.114, allocations: 0 / 0.5057 GB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.114, allocations: 4 kB / 0.5057 GB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.1142, allocations: 28.05 kB / 0.5057 GB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.1163, allocations: 2.715 MB / 0.5084 GB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.1164, allocations: 3.953 kB / 0.5084 GB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.1164, allocations: 0 / 0.5084 GB, free: 3.859 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.764e-05/0.1165, allocations: 117.8 kB / 0.5085 GB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.1165, allocations: 7.922 kB / 0.5085 GB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.1165, allocations: 11.12 kB / 0.5085 GB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1165, allocations: 8.062 kB / 0.5085 GB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.1165, allocations: 0 / 0.5085 GB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1165, allocations: 0 / 0.5085 GB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.1169, allocations: 181.7 kB / 0.5087 GB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1169, allocations: 0 / 0.5087 GB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.1171, allocations: 35.97 kB / 0.5087 GB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1171, allocations: 3.938 kB / 0.5087 GB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1171, allocations: 0 / 0.5087 GB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.1192, allocations: 2.719 MB / 0.5114 GB, free: 456 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1192, allocations: 0 / 0.5114 GB, free: 456 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.773e-05/0.1193, allocations: 74.02 kB / 0.5115 GB, free: 360 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.261e-05/0.1193, allocations: 81.17 kB / 0.5115 GB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-06/0.1193, allocations: 4 kB / 0.5116 GB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.1194, allocations: 0 / 0.5116 GB, free: 256 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.1194, allocations: 11.92 kB / 0.5116 GB, free: 244 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1194, allocations: 4 kB / 0.5116 GB, free: 240 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.1195, allocations: 79.28 kB / 0.5116 GB, free: 160 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1195, allocations: 3.938 kB / 0.5116 GB, free: 156 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1197, allocations: 4 kB / 0.5116 GB, free: 152 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.0004876/0.1202, allocations: 0.6056 MB / 0.5122 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004787/0.1207, allocations: 44 kB / 0.5123 GB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1207, allocations: 0 / 0.5123 GB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.121, allocations: 31.88 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.0001487/0.1212, allocations: 11.94 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.0004409/0.1216, allocations: 132.2 kB / 0.5125 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.122, allocations: 0.6844 MB / 0.5131 GB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.541e-05/0.1221, allocations: 24 kB / 0.5131 GB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.1222, allocations: 31.39 kB / 0.5132 GB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1222, allocations: 0 / 0.5132 GB, free: 14.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.1463, allocations: 1.73 MB / 0.5149 GB, free: 12.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.072, allocations: 7.438 kB / 0.5149 GB, free: 12.81 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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.Attributes_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_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)