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.00722/0.00722, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.377/1.377, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001448/0.001448, allocations: 196.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.03594/0.03594, allocations: 8.789 MB / 348.7 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 79.86 kB / 463.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09587, allocations: 51.56 MB / 0.5029 GB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002133/0.09803, allocations: 1.178 MB / 0.504 GB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 5.265e-05/0.09811, allocations: 15.91 kB / 0.5041 GB, free: 8.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.09814, allocations: 4 kB / 0.5041 GB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.09818, allocations: 0 / 0.5041 GB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.09823, allocations: 0 / 0.5041 GB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.736e-05/0.09828, allocations: 0 / 0.5041 GB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.815e-05/0.09834, allocations: 7.938 kB / 0.5041 GB, free: 8.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.0984, allocations: 11.98 kB / 0.5041 GB, free: 8.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.041e-05/0.09843, allocations: 7.938 kB / 0.5041 GB, free: 8.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.09848, allocations: 4 kB / 0.5041 GB, free: 8.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.0985, allocations: 0 / 0.5041 GB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.66e-06/0.09851, allocations: 0 / 0.5041 GB, free: 8.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.09853, allocations: 4 kB / 0.5041 GB, free: 8.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.09856, allocations: 7.938 kB / 0.5041 GB, free: 8.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.381e-05/0.09861, allocations: 12.19 kB / 0.5041 GB, free: 8.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09862, allocations: 4 kB / 0.5041 GB, free: 8.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09863, allocations: 0 / 0.5041 GB, free: 8.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.09864, allocations: 0 / 0.5041 GB, free: 8.758 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.0004277/0.09907, allocations: 319.5 kB / 0.5044 GB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.09912, allocations: 12.02 kB / 0.5044 GB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.09916, allocations: 34.75 kB / 0.5045 GB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.824e-05/0.09918, allocations: 4.938 kB / 0.5045 GB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.09932, allocations: 168.3 kB / 0.5046 GB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.09933, allocations: 384 / 0.5046 GB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.09935, allocations: 4.312 kB / 0.5046 GB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.589e-05/0.09945, allocations: 43.97 kB / 0.5047 GB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.09947, allocations: 3.938 kB / 0.5047 GB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.09948, allocations: 0 / 0.5047 GB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.09949, allocations: 3.984 kB / 0.5047 GB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.09952, allocations: 15.94 kB / 0.5047 GB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.09998, allocations: 186.5 kB / 0.5049 GB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.1001, allocations: 41.12 kB / 0.5049 GB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.1001, allocations: 21.78 kB / 0.5049 GB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.1001, allocations: 0 / 0.5049 GB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1001, allocations: 30.56 kB / 0.505 GB, free: 7.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1001, allocations: 0 / 0.505 GB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001433/0.1003, allocations: 53.56 kB / 0.505 GB, free: 7.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.1004, allocations: 81.36 kB / 0.5051 GB, free: 7.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.1004, allocations: 93.86 kB / 0.5052 GB, free: 7.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1005, allocations: 25.7 kB / 0.5052 GB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.525e-05/0.1005, allocations: 80.14 kB / 0.5053 GB, free: 7.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1005, allocations: 11.94 kB / 0.5053 GB, free: 7.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1006, allocations: 13.72 kB / 0.5053 GB, free: 7.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1007, allocations: 310.8 kB / 0.5056 GB, free: 6.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.1007, allocations: 0 / 0.5056 GB, free: 6.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.679e-05/0.1007, allocations: 21.84 kB / 0.5056 GB, free: 6.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.1008, allocations: 17.66 kB / 0.5056 GB, free: 6.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1008, allocations: 4 kB / 0.5057 GB, free: 6.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.606e-05/0.1009, allocations: 49.58 kB / 0.5057 GB, free: 6.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1009, allocations: 7.938 kB / 0.5057 GB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1009, allocations: 128 / 0.5057 GB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1009, allocations: 8 kB / 0.5057 GB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.1011, allocations: 23.98 kB / 0.5057 GB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.1029, allocations: 2.715 MB / 0.5084 GB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.1029, allocations: 3.953 kB / 0.5084 GB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.103, allocations: 0 / 0.5084 GB, free: 3.836 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 9.14e-05/0.1031, allocations: 121.7 kB / 0.5085 GB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.1031, allocations: 8.031 kB / 0.5085 GB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.1031, allocations: 11.11 kB / 0.5085 GB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1031, allocations: 4 kB / 0.5085 GB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1031, allocations: 0 / 0.5085 GB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1031, allocations: 3.984 kB / 0.5085 GB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.1035, allocations: 177.7 kB / 0.5087 GB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1035, allocations: 0 / 0.5087 GB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1037, allocations: 31.98 kB / 0.5087 GB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1037, allocations: 3.938 kB / 0.5087 GB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1037, allocations: 3.938 kB / 0.5087 GB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.1054, allocations: 2.723 MB / 0.5114 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1055, allocations: 7.875 kB / 0.5114 GB, free: 420 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.033e-05/0.1055, allocations: 70.12 kB / 0.5115 GB, free: 328 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.1056, allocations: 81.05 kB / 0.5116 GB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.1056, allocations: 3.984 kB / 0.5116 GB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.1056, allocations: 4 kB / 0.5116 GB, free: 220 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.1057, allocations: 4 kB / 0.5116 GB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1057, allocations: 0 / 0.5116 GB, free: 216 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.1057, allocations: 79.28 kB / 0.5116 GB, free: 136 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1057, allocations: 128 / 0.5116 GB, free: 136 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.1059, allocations: 8 kB / 0.5116 GB, free: 128 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.0004006/0.1063, allocations: 0.6015 MB / 0.5122 GB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.1068, allocations: 51.91 kB / 0.5123 GB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1068, allocations: 0 / 0.5123 GB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.1072, allocations: 27.97 kB / 0.5123 GB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.1074, allocations: 4.25 kB / 0.5123 GB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.1078, allocations: 132.1 kB / 0.5124 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1082, allocations: 0.6844 MB / 0.5131 GB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.413e-05/0.1083, allocations: 27.98 kB / 0.5131 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.1083, allocations: 23.41 kB / 0.5132 GB, free: 14.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1083, allocations: 0 / 0.5132 GB, free: 14.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.1309, allocations: 1.745 MB / 0.5149 GB, free: 12.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.671, allocations: 4.062 kB / 0.5149 GB, free: 12.79 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)